Merge branch 'master' into shellcommands

This commit is contained in:
Bernhard Mueller
2023-04-10 23:16:39 +07:00
committed by GitHub
29 changed files with 630 additions and 179 deletions

View File

@@ -7,6 +7,7 @@ WORKSPACE_FOLDER = "auto_gpt_workspace"
def execute_python_file(file):
"""Execute a Python file in a Docker container and return the output"""
print (f"Executing file '{file}' in workspace '{WORKSPACE_FOLDER}'")
@@ -42,7 +43,7 @@ def execute_python_file(file):
container.remove()
# print(f"Execution complete. Output: {output}")
# print(f"Logs: {logs}")
# print(f"Logs: {logs}")
return logs