临时临时
相关工具
notepad++:https://noteipad.com/download.html
Clawhub登录token clh_iuumqvnVc5MqV_gvn6c-NqMWS-XWwXp8eDGnlieovB8
npm 切换淘宝镜像源
npm config set registry https://registry.npmmirror.com/
配置文件
DeepSeek模型示例
"models": {
"mode": "merge",
"providers": {
"custom-api-deepseek-com": {
"baseUrl": "https://api.deepseek.com",
"apiKey": "xxxxxxxxxxxxxxxxx",
"api": "openai-completions",
"models": [
{
"id": "deepseek-chat",
"name": "deepseek-chat (Custom Provider)",
"reasoning": false,
"input": [
"text"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 128000,
"maxTokens": 65536
}
]
}
}
},
"agents": {
"defaults": {
"model": {
"primary": "custom-api-deepseek-com/deepseek-chat"
},
"models": {
"custom-api-deepseek-com/deepseek-chat": {
"alias": "api-deepseek"
}
},
"workspace": "/root/.openclaw/workspace",
"compaction": {
"mode": "safeguard"
},
"maxConcurrent": 4,
"subagents": {
"maxConcurrent": 8
}
}
},
阿里云千问模型示例
"models": {
"mode": "merge",
"providers": {
"bailian": {
"baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
"apiKey": "DASHSCOPE_API_KEY",
"api": "openai-completions",
"models": [
{
"id": "qwen3.5-plus",
"name": "qwen3.5-plus",
"reasoning": false,
"input": ["text", "image"],
"contextWindow": 1000000,
"maxTokens": 65536
},
{
"id": "qwen3-coder-next",
"name": "qwen3-coder-next",
"reasoning": false,
"input": ["text"],
"contextWindow": 262144,
"maxTokens": 65536
}
]
}
}
},
"agents": {
"defaults": {
"model": {
"primary": "bailian/qwen3.5-plus"
},
"models": {
"bailian/qwen3.5-plus": {},
"bailian/qwen3-coder-next": {}
}
}
},

浙公网安备 33010602011771号