Allowed all for CORS added autogpt to the arena

This commit is contained in:
SwiftyOS
2023-11-15 10:53:11 +01:00
parent fa357dd139
commit 0719780c91
2 changed files with 7 additions and 6 deletions

6
arena/autogpt.json Normal file
View File

@@ -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"
}

View File

@@ -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
]