折腾了好久一直不行,openclaw配置如下
{
"meta": {
"lastTouchedVersion": "2026.2.1-zh.3",
"lastTouchedAt": "2026-02-08T13:26:34.706Z"
},
"wizard": {
"lastRunAt": "2026-02-08T03:46:19.172Z",
"lastRunVersion": "2026.2.1-zh.3",
"lastRunCommand": "onboard",
"lastRunMode": "local"
},
"models": {
"mode": "merge",
"providers": {
"crs": {
"baseUrl": "https://域名省略/openai",
"apiKey": "cr_xxxxxxx",
"api": "openai-responses",
"authHeader": true,
"models": [
{
"id": "gpt-5.2",
"name": "GPT-5.2 (CRS)",
"api": "openai-responses",
"reasoning": true,
"input": [
"text"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 200000,
"maxTokens": 8192
}
]
}
}
},
"agents": {
"defaults": {
"model": {
"primary": "crs/gpt-5.2"
},
"models": {
"crs/gpt-5.2": {}
},
"maxConcurrent": 4,
"subagents": {
"maxConcurrent": 8
}
}
},
"messages": {
"ackReactionScope": "group-mentions"
},
"commands": {
"native": "auto",
"nativeSkills": "auto"
},
"hooks": {
"internal": {
"enabled": true,
"entries": {
"command-logger": {
"enabled": true
}
}
}
},
"gateway": {
"port": 18789,
"mode": "local",
"bind": "loopback",
"auth": {
"mode": "token",
"token": "f7e8c138deeabcb0b1352e33bb21301632f5d9aa666212bb"
},
"tailscale": {
"mode": "off",
"resetOnExit": false
}
}
}