Spaces:
Paused
Paused
Update opencode.json
Browse files- opencode.json +21 -23
opencode.json
CHANGED
|
@@ -1,33 +1,31 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"server": {
|
| 3 |
"port": 7860,
|
| 4 |
"hostname": "0.0.0.0",
|
| 5 |
"mdns": false,
|
| 6 |
-
"cors": [
|
| 7 |
-
"https://coincreator-opencode.hf.space",
|
| 8 |
-
"https://coincreator-opencode.static.hf.space",
|
| 9 |
-
"http://localhost:7860"
|
| 10 |
-
],
|
| 11 |
"openBrowser": false
|
| 12 |
},
|
| 13 |
-
"
|
| 14 |
-
"
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
"
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
"
|
| 25 |
-
"
|
| 26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
}
|
| 28 |
-
},
|
| 29 |
-
"logger": {
|
| 30 |
-
"level": "info",
|
| 31 |
-
"file": false
|
| 32 |
}
|
| 33 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"$schema": "https://opencode.ai/config.json",
|
| 3 |
"server": {
|
| 4 |
"port": 7860,
|
| 5 |
"hostname": "0.0.0.0",
|
| 6 |
"mdns": false,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
"openBrowser": false
|
| 8 |
},
|
| 9 |
+
"provider": {
|
| 10 |
+
"openai": {
|
| 11 |
+
"options": {
|
| 12 |
+
"timeout": 3600000
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"anthropic": {
|
| 16 |
+
"options": {
|
| 17 |
+
"timeout": 3600000
|
| 18 |
+
}
|
| 19 |
+
},
|
| 20 |
+
"openrouter": {
|
| 21 |
+
"options": {
|
| 22 |
+
"timeout": 3600000
|
| 23 |
+
}
|
| 24 |
+
},
|
| 25 |
+
"huggingface": {
|
| 26 |
+
"options": {
|
| 27 |
+
"timeout": 3600000
|
| 28 |
+
}
|
| 29 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
}
|
| 31 |
}
|