Spaces:
Sleeping
Sleeping
SIN-Deploy-Bot commited on
Commit ·
cd77d2b
1
Parent(s): da23da2
fix: add models section to opencode.json config
Browse filesThe opencode-qwen-auth plugin requires a 'models' section in the
provider config. Adding proper model definitions for qwen3.6-plus-free
and minimax-m2.5-free to prevent TypeError: provider.models undefined
start.sh
CHANGED
|
@@ -52,6 +52,24 @@ if [ ! -f ~/.config/opencode/opencode.json ]; then
|
|
| 52 |
"openai": {
|
| 53 |
"options": {
|
| 54 |
"baseUrl": "http://92.5.60.87:4100/v1"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
}
|
| 56 |
}
|
| 57 |
}
|
|
|
|
| 52 |
"openai": {
|
| 53 |
"options": {
|
| 54 |
"baseUrl": "http://92.5.60.87:4100/v1"
|
| 55 |
+
},
|
| 56 |
+
"models": {
|
| 57 |
+
"qwen3.6-plus-free": {
|
| 58 |
+
"name": "Qwen 3.5 Plus Free",
|
| 59 |
+
"id": "qwen3.6-plus-free",
|
| 60 |
+
"limit": {
|
| 61 |
+
"context": 32000,
|
| 62 |
+
"output": 8000
|
| 63 |
+
}
|
| 64 |
+
},
|
| 65 |
+
"minimax-m2.5-free": {
|
| 66 |
+
"name": "MiniMax M2.5 Free",
|
| 67 |
+
"id": "minimax-m2.5-free",
|
| 68 |
+
"limit": {
|
| 69 |
+
"context": 32000,
|
| 70 |
+
"output": 8000
|
| 71 |
+
}
|
| 72 |
+
}
|
| 73 |
}
|
| 74 |
}
|
| 75 |
}
|