Spaces:
Running
Running
fix: update Zhipu model IDs in default config and dataset template
Browse filesThese files still referenced deprecated glm-4-flash/glm-4-plus models,
causing "Fallback active: zhipu/glm-4-flash" → 400 model not found.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- config_for_dataset.json +4 -3
- scripts/openclaw.json.default +9 -5
config_for_dataset.json
CHANGED
|
@@ -20,8 +20,9 @@
|
|
| 20 |
"apiKey": "<ENV_VAR>",
|
| 21 |
"api": "openai-completions",
|
| 22 |
"models": [
|
| 23 |
-
{ "id": "glm-4-
|
| 24 |
-
{ "id": "glm-4
|
|
|
|
| 25 |
]
|
| 26 |
},
|
| 27 |
"hf": {
|
|
@@ -47,7 +48,7 @@
|
|
| 47 |
"agents": {
|
| 48 |
"defaults": {
|
| 49 |
"workspace": "~/.openclaw/workspace",
|
| 50 |
-
"model": { "primary": "zhipu/glm-4-
|
| 51 |
}
|
| 52 |
}
|
| 53 |
}
|
|
|
|
| 20 |
"apiKey": "<ENV_VAR>",
|
| 21 |
"api": "openai-completions",
|
| 22 |
"models": [
|
| 23 |
+
{ "id": "glm-4.5-air", "name": "GLM-4.5 Air" },
|
| 24 |
+
{ "id": "glm-4.5", "name": "GLM-4.5" },
|
| 25 |
+
{ "id": "glm-4.6", "name": "GLM-4.6" }
|
| 26 |
]
|
| 27 |
},
|
| 28 |
"hf": {
|
|
|
|
| 48 |
"agents": {
|
| 49 |
"defaults": {
|
| 50 |
"workspace": "~/.openclaw/workspace",
|
| 51 |
+
"model": { "primary": "zhipu/glm-4.5-air" }
|
| 52 |
}
|
| 53 |
}
|
| 54 |
}
|
scripts/openclaw.json.default
CHANGED
|
@@ -21,12 +21,16 @@
|
|
| 21 |
"api": "openai-completions",
|
| 22 |
"models": [
|
| 23 |
{
|
| 24 |
-
"id": "glm-4-
|
| 25 |
-
"name": "GLM-4
|
| 26 |
},
|
| 27 |
{
|
| 28 |
-
"id": "glm-4
|
| 29 |
-
"name": "GLM-4
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
}
|
| 31 |
]
|
| 32 |
},
|
|
@@ -45,7 +49,7 @@
|
|
| 45 |
"defaults": {
|
| 46 |
"workspace": "~/.openclaw/workspace",
|
| 47 |
"model": {
|
| 48 |
-
"primary": "zhipu/glm-4-
|
| 49 |
}
|
| 50 |
}
|
| 51 |
}
|
|
|
|
| 21 |
"api": "openai-completions",
|
| 22 |
"models": [
|
| 23 |
{
|
| 24 |
+
"id": "glm-4.5-air",
|
| 25 |
+
"name": "GLM-4.5 Air"
|
| 26 |
},
|
| 27 |
{
|
| 28 |
+
"id": "glm-4.5",
|
| 29 |
+
"name": "GLM-4.5"
|
| 30 |
+
},
|
| 31 |
+
{
|
| 32 |
+
"id": "glm-4.6",
|
| 33 |
+
"name": "GLM-4.6"
|
| 34 |
}
|
| 35 |
]
|
| 36 |
},
|
|
|
|
| 49 |
"defaults": {
|
| 50 |
"workspace": "~/.openclaw/workspace",
|
| 51 |
"model": {
|
| 52 |
+
"primary": "zhipu/glm-4.5-air"
|
| 53 |
}
|
| 54 |
}
|
| 55 |
}
|