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.
Fix Auto-GPT integration by adding python module as entrypoint (#86)
merwanehamadi4ecb70c5e3e2
diff --git a/agbenchmark/agent_interface.py b/agbenchmark/agent_interface.pyindex 713451f013..c737f30794 100644--- a/agbenchmark/agent_interface.py+++ b/agbenchmark/agent_interface.py@@ -32,8 +32,7 @@ def run_agent(print(f"Running Python function '{config['entry_path']}' with timeout {timeout}")-- command = [sys.executable, config["entry_path"], str(task)]+ command = [sys.executable, "-m", config["entry_path"], str(task)]process = subprocess.Popen(command,stdout=subprocess.PIPE,diff --git a/agbenchmark/config.json b/agbenchmark/config.jsonindex 9dd8b16abc..af83029ef9 100644--- a/agbenchmark/config.json+++ b/agbenchmark/config.json@@ -1,5 +1,5 @@{"workspace": "${os.path.join(Path.home(), 'miniagi')}",- "entry_path": "agbenchmark/benchmarks.py",+ "entry_path": "agbenchmark.benchmarks","cutoff": 60}diff --git a/agent/Auto-GPT b/agent/Auto-GPTindex ade8e6f814..e5fbe4313e 160000--- a/agent/Auto-GPT+++ b/agent/Auto-GPT@@ -1 +1 @@-Subproject commit ade8e6f8142a937160596a987ab96808b583f9e3+Subproject commit e5fbe4313e0ebf7f75514a181a5d2044a7babd26diff --git a/agent/SuperAGI b/agent/SuperAGIindex a28224d825..9280512910 160000--- a/agent/SuperAGI+++ b/agent/SuperAGI@@ -1 +1 @@-Subproject commit a28224d82572b598ccee1057086fabaf33e1aaa9+Subproject commit 9280512910c74bc33333e2ce7c48e47021227529diff --git a/agent/gpt-engineer b/agent/gpt-engineerindex 538bcba6ef..42400fd679 160000--- a/agent/gpt-engineer+++ b/agent/gpt-engineer@@ -1 +1 @@-Subproject commit 538bcba6efbb7cda7f6a355a8c8420bbbdb52f25+Subproject commit 42400fd67972278e454621e7abf450a4f899a44adiff --git a/agent/mini-agi b/agent/mini-agiindex ad2b345050..6a1d08880c 160000--- a/agent/mini-agi+++ b/agent/mini-agi@@ -1 +1 @@-Subproject commit ad2b345050e07efb7ad0bde68c93bc2b4e2d7a92+Subproject commit 6a1d08880c65fe3e5831243c1e1ea19acf85516cdiff --git a/agent/smol-developer b/agent/smol-developerindex 150981f77f..a0e9f4f39e 160000--- a/agent/smol-developer+++ b/agent/smol-developer@@ -1 +1 @@-Subproject commit 150981f77f19777bf5aa76cb3a74869e4a8a8a05+Subproject commit a0e9f4f39e26a56b13a364be09fc58d2d85150ea