接入第三方api
"models": {
"mode": "merge",
"providers": {
"cliproxy": {
"baseUrl": "https://api.cc.cc/v1",
"apiKey": "sk-123456",
"api": "openai-completions",
"models": [
{
"id": "gemini-3-flash-preview",
"name": "gemini-3-flash-preview",
"reasoning": true,
"input": [
"text",
"image"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 200000,
"maxTokens": 8192
},
{
"id": "gemini-3.1-pro-preview",
"name": "gemini-3.1-pro-preview",
"reasoning": true,
"input": [
"text",
"image"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 200000,
"maxTokens": 8192
},
{
"id": "gemini-3.1-pro-high",
"name": "gemini-3.1-pro-high",
"reasoning": true,
"input": [
"text",
"image"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 200000,
"maxTokens": 8192
},
{
"id": "gemini-3-pro-image",
"name": "gemini-3-pro-image",
"reasoning": true,
"input": [
"text",
"image"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 200000,
"maxTokens": 8192
},
{
"id": "gpt-5.3-codex",
"name": "gpt-5.3-codex",
"reasoning": true,
"input": [
"text",
"image"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 200000,
"maxTokens": 8192
},
{
"id": "claude-opus-4-6-thinking",
"name": "claude-opus-4-6-thinking",
"reasoning": true,
"input": [
"text",
"image"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 200000,
"maxTokens": 8192
}
]
}
}
},
"agents": {
"defaults": {
"model": {
"primary": "cliproxy/gemini-3.1-pro-preview",
"fallbacks": [
"cliproxy/gpt-5.3-codex"
]
},
"imageModel": {
"primary": "cliproxy/gemini-3-pro-image",
"fallbacks": [
"cliproxy/gpt-5.3-codex"
]
},
"models": {
"cliproxy/gemini-3.1-pro-preview": {},
"cliproxy/gemini-3-flash-preview": {},
"cliproxy/gemini-3.1-pro-high": {},
"cliproxy/gemini-3-pro-image": {},
"cliproxy/gpt-5.3-codex": {},
"cliproxy/claude-opus-4-6-thinking": {}
},
"workspace": "/root/.openclaw/workspace",
"compaction": {
"mode": "safeguard"
},
"maxConcurrent": 4,
"subagents": {
"maxConcurrent": 8
}
}
},
关闭搜索
"tools": {
"web": {
"search": {
"enabled": false
}
}
},