Commit Graph

14 Commits

Author SHA1 Message Date
Bernhard Mueller
affe77e18c Call subprocess.run with shell=True 2023-04-12 23:46:55 +07:00
Bernhard Mueller
cc9723c26e Make chdir code more robust 2023-04-12 23:30:35 +07:00
Bernhard Mueller
9598679180 Merge branch 'master' into shellcommands 2023-04-10 23:16:39 +07:00
Andy Melnikov
4a86da95f9 Remove trailing spaces throughout
This happens often in PRs so fixing this everywhere will make many PRs
mergeable as they won't include irrelevant whitespace fixes
2023-04-10 14:25:24 +02:00
Bernhard Mueller
dd469bf2ae Change working directory during shell command execution 2023-04-10 10:26:54 +07:00
Andres Caicedo
011699e6a1 Code review changes 2023-04-09 15:39:11 +02:00
Bernhard Mueller
66eb1dcfc5 Add exec_shell command 2023-04-08 12:39:03 +07:00
Andres Caicedo
d450ac3a0b Update execute_code.py
Just import path from OS library.
2023-04-04 11:31:20 +02:00
Andres Caicedo
8e2074f483 Merge branch 'master' into dev 2023-04-03 13:51:36 +02:00
Toran Bruce Richards
f426b51038 Changes python version to 3.10 in execute_code. 2023-04-03 11:34:39 +01:00
Andres Caicedo
eac5c1f6e6 Add documentation 2023-04-02 19:03:37 +02:00
Torantulino
b4685f67e6 Apply autopep8 formatting to entire codebase 2023-04-02 09:13:15 +01:00
Torantulino
de975d3bf9 Implements code execution command!
This allows the AI to execute code inside it's workspace folder.
2023-04-01 16:01:36 +01:00
Torantulino
29d8fa5d38 First imeplementation of execute_code.
This is too limited by it's sandboxing by RestrictedPython.
2023-04-01 14:37:50 +01:00