Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Merge pull request #965 from nolan23/master

Richard Bealesdabaa9d6a8ce
diff --cc scripts/execute_code.py
index 806767e20e,b281c3ebbb..2c92903cf4
--- a/scripts/execute_code.py
+++ b/scripts/execute_code.py
@@@ -26,10 -40,10 +43,10 @@@ def execute_python_file(file)
# You can find available Python images on Docker Hub:
# https://hub.docker.com/_/python
container = client.containers.run(
- 'python:3.10',
+ image_name,
f'python {file}',
volumes={
- os.path.abspath(workspace_folder): {
+ os.path.abspath(WORKSPACE_FOLDER): {
'bind': '/workspace',
'mode': 'ro'}},
working_dir='/workspace',