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.

Allowed all for CORS added autogpt to the arena

SwiftyOS0719780c91ba
diff --git a/arena/autogpt.json b/arena/autogpt.json
new file mode 100644
index 0000000000..931aa3aa5c
--- /dev/null
+++ b/arena/autogpt.json
@@ -0,0 +1,6 @@
+{
+ "github_repo_url": "https://github.com/Significant-Gravitas/AutoGPT",
+ "timestamp": "2023-11-15T07:22:09.723393",
+ "commit_hash_to_benchmark": "fa357dd13928baa4d1e30054bc75edc5d68b08f1",
+ "branch_to_benchmark": "master"
+}
\ No newline at end of file
diff --git a/autogpts/autogpt/autogpt/app/agent_protocol_server.py b/autogpts/autogpt/autogpt/app/agent_protocol_server.py
index d59b796287..9d5faa91b4 100644
--- a/autogpts/autogpt/autogpt/app/agent_protocol_server.py
+++ b/autogpts/autogpt/autogpt/app/agent_protocol_server.py
@@ -64,12 +64,7 @@ class AgentProtocolServer:
# Add CORS middleware
origins = [
- "http://localhost:5000",
- "http://127.0.0.1:5000",
- "http://localhost:8000",
- "http://127.0.0.1:8000",
- "http://localhost:8080",
- "http://127.0.0.1:8080",
+ "*",
# Add any other origins you want to whitelist
]