Files
my-project/config/openclaw/openclaw_new.json
T

421 lines
9.9 KiB
JSON

{
"meta": {
"lastTouchedVersion": "2026.4.14",
"lastTouchedAt": "2026-04-14T23:26:45.301Z"
},
"wizard": {
"lastRunAt": "2026-02-27T04:07:31.399Z",
"lastRunVersion": "2026.2.26",
"lastRunCommand": "doctor",
"lastRunMode": "local"
},
"browser": {
"enabled": true,
"headless": true,
"noSandbox": true,
"defaultProfile": "openclaw",
"profiles": {
"openclaw": {
"cdpPort": 18800,
"color": "#FF4500"
},
"chrome": {
"cdpPort": 18801,
"color": "#4285F4"
},
"work": {
"cdpPort": 18802,
"color": "#00AA00"
}
},
"extraArgs": [
"--proxy-server=http://192.168.0.31:7890"
]
},
"models": {
"providers": {
"minimax": {
"baseUrl": "https://api.minimax.io/v1",
"apiKey": "sk-cp-uKuzyMBKW6rkm15dW32vzYUVMjqc6lVAMn5WR_BIBPl5RGqtXO3mlu9FvonekGBnJORUiXwZhdbHhhHDLNOoPg3jbag8G_wRXsgEC9QmUlrPHNdQtfuYeEw",
"api": "openai-completions",
"models": [
{
"id": "minimax-m2.7-highspeed",
"name": "MiniMax-M2.7-highspeed",
"reasoning": false,
"input": [
"text"
],
"cost": {
"input": 0.5,
"output": 2
},
"contextWindow": 1000000,
"maxTokens": 16384
},
{
"id": "minimax-m2.5",
"name": "MiniMax-m2.5",
"reasoning": false,
"input": [
"text"
],
"cost": {
"input": 0.3,
"output": 1.2,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 205000,
"maxTokens": 16384
},
{
"id": "minimax-m2.5-highspeed",
"name": "MiniMax-m2.5-highspeed",
"reasoning": false,
"input": [
"text"
],
"cost": {
"input": 0.4,
"output": 1.6
},
"contextWindow": 205000,
"maxTokens": 16384
},
{
"id": "minimax-m2.1",
"name": "MiniMax-m2.1",
"reasoning": false,
"input": [
"text"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 128000,
"maxTokens": 8192
},
{
"id": "embo-01",
"name": "embo-01",
"reasoning": false,
"input": [
"text"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 200000,
"maxTokens": 8192
}
]
},
"deepseek": {
"baseUrl": "https://api.deepseek.com/v1",
"apiKey": "sk-268daa8e59704067b1e492a639bf75f4",
"api": "openai-completions",
"models": [
{
"id": "deepseek-chat",
"name": "DeepSeek",
"reasoning": true,
"input": [
"text"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 32768,
"maxTokens": 8192
}
]
},
"openai": {
"baseUrl": "http://localhost:11434/v1",
"apiKey": "ollama-local",
"api": "openai-completions",
"models": [
{
"id": "nomic-embed-text:latest",
"name": "MxBai Embed",
"reasoning": false,
"input": [
"text"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 512,
"maxTokens": 512
}
]
},
"ollama": {
"baseUrl": "http://192.168.0.66:11434/v1",
"apiKey": "ollama-local",
"models": [
{
"id": "qwen3:4b",
"name": "Qwen3 4B (\u672c\u5730)"
},
{
"id": "qwen2.5:14b",
"name": "Qwen2.5 14B (\u672c\u5730)"
}
]
},
"minimax-cn": {
"baseUrl": "https://api.minimaxi.com/v1",
"apiKey": "sk-cp-bJSl7-48u8Y07PXD_x8Wp21JiBgYul7iEO6ZWNK4FBAA4DWzj-U-K8-mN-Flak-O8cOtRegt5FYviSRfBw_noa14z0FkFYzczCPUa41opZsg5AGZ4s4uqL8",
"api": "openai-completions",
"models": [
{
"id": "minimax-m2.7",
"name": "MiniMax-2.7 (\u56fd\u5185\u7248)",
"reasoning": false,
"input": [
"text"
],
"cost": {
"input": 0.5,
"output": 2,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 1000000,
"maxTokens": 16384
}
]
},
"xiaomi": {
"baseUrl": "https://token-plan-cn.xiaomimimo.com/v1",
"apiKey": "tp-chd926phr2ozideel8cwdwjl8dytz1cdnqjivexe34zrx4cv",
"api": "openai-completions",
"models": [
{
"id": "mimo-v2-pro",
"name": "MiMo v2 Pro",
"contextWindow": 1000000,
"maxTokens": 131072
},
{
"id": "mimo-v2-flash",
"name": "MiMo v2 Flash",
"contextWindow": 256000,
"maxTokens": 65536
}
]
},
"local-router": {
"baseUrl": "http://127.0.0.1:18799",
"apiKey": "router-local",
"api": "openai-completions",
"models": [
{
"id": "router",
"name": "\u667a\u80fd\u8def\u7531",
"api": "openai-completions",
"reasoning": false,
"input": [
"text"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 1000000,
"maxTokens": 16384
}
]
}
}
},
"agents": {
"defaults": {
"model": {
"primary": "ollama-66/jaahas/qwen3.5-uncensored:4b",
"fallbacks": [
"minimax-cn/minimax-m2.7",
"xiaomi/mimo-v2-pro"
]
},
"models": {
"minimax/minimax-m2.7-highspeed": {
"alias": "MiniMax"
},
"minimax-cn/minimax-m2.7": {
"alias": "MiniMax-\u56fd\u5185\u7248"
}
},
"memorySearch": {
"extraPaths": [
"/root/.openclaw/memory/"
],
"provider": "openai",
"remote": {
"baseUrl": "http://192.168.0.66:11434/v1",
"apiKey": "ollama-local"
},
"model": "mxbai-embed-large:latest",
"sync": {
"watch": true
},
"query": {
"hybrid": {
"enabled": true,
"vectorWeight": 0.7,
"textWeight": 0.3,
"candidateMultiplier": 4
}
},
"cache": {
"enabled": true,
"maxEntries": 50000
}
},
"compaction": {
"mode": "safeguard",
"reserveTokensFloor": 50000,
"memoryFlush": {
"enabled": true,
"softThresholdTokens": 8000
}
},
"maxConcurrent": 2,
"subagents": {
"maxConcurrent": 2
}
},
"list": [
{
"id": "main",
"identity": {
"name": "2\u53f7\u673a"
}
}
]
},
"tools": {
"web": {
"search": {
"enabled": true
}
},
"media": {
"audio": {
"enabled": true,
"models": [
{
"type": "cli",
"command": "bash",
"args": [
"-c",
"curl -s -X POST http://192.168.0.66:19001/transcribe -F audio=@{{MediaPath}} | jq -r .text"
]
}
]
}
}
},
"messages": {
"ackReactionScope": "group-mentions"
},
"commands": {
"native": "auto",
"nativeSkills": "auto",
"restart": true,
"ownerDisplay": "raw"
},
"approvals": {
"exec": {
"enabled": true,
"mode": "both",
"agentFilter": [],
"sessionFilter": [],
"targets": []
}
},
"session": {
"reset": {
"mode": "daily",
"atHour": 4,
"idleMinutes": 60
}
},
"channels": {
"telegram": {
"enabled": true,
"dmPolicy": "pairing",
"allowFrom": [
"5117446326"
],
"groupPolicy": "allowlist",
"streaming": {
"mode": "partial"
},
"proxy": "http://192.168.0.31:7890",
"accounts": {
"tcbot_02": {
"dmPolicy": "pairing",
"botToken": "8202664888:AAE0UyCFJJBLC8notdmT42XOJRBoWLJ6XOI",
"groupPolicy": "allowlist",
"streaming": {
"mode": "partial"
},
"proxy": "http://192.168.0.31:7890"
},
"default": {
"dmPolicy": "pairing",
"botToken": "8202664888:AAE0UyCFJJBLC8notdmT42XOJRBoWLJ6XOI",
"groupPolicy": "allowlist",
"streaming": {
"mode": "partial"
},
"proxy": "http://192.168.0.31:7890"
}
}
}
},
"gateway": {
"port": 18789,
"mode": "local",
"bind": "loopback",
"controlUi": {
"dangerouslyAllowHostHeaderOriginFallback": true
},
"auth": {
"token": "openclaw-guardian-token-2nd"
}
},
"plugins": {
"entries": {
"telegram": {
"enabled": true
},
"minimax": {
"enabled": true
},
"xiaomi": {
"enabled": true
},
"browser": {
"enabled": true
}
}
}
}