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

465 lines
10 KiB
JSON

{
"meta": {
"lastTouchedVersion": "2026.5.6",
"lastTouchedAt": "2026-05-08T05:21:13.754Z"
},
"wizard": {
"lastRunAt": "2026-05-08T05:21:13.637Z",
"lastRunVersion": "2026.5.6",
"lastRunCommand": "doctor",
"lastRunMode": "local"
},
"browser": {
"ssrfPolicy": {
"hostnameAllowlist": [
"*.minimax.io",
"*.minimaxi.com",
"*.xiaomimimo.com"
]
}
},
"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": "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
}
]
},
"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 (国内版)",
"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": "智能路由",
"api": "openai-completions",
"reasoning": false,
"input": [
"text"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 1000000,
"maxTokens": 16384
}
]
}
}
},
"agents": {
"defaults": {
"model": {
"primary": "minimax/minimax-m2.7-highspeed",
"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-国内版"
}
},
"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号机"
}
}
]
},
"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",
"groupChat": {
"visibleReplies": "message_tool"
}
},
"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": {
"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
}
}
},
"skills": {
"entries": {
"1password": {
"enabled": false
},
"apple-notes": {
"enabled": false
},
"apple-reminders": {
"enabled": false
},
"bear-notes": {
"enabled": false
},
"blogwatcher": {
"enabled": false
},
"blucli": {
"enabled": false
},
"bluebubbles": {
"enabled": false
},
"camsnap": {
"enabled": false
},
"coding-agent": {
"enabled": false
},
"discord": {
"enabled": false
},
"eightctl": {
"enabled": false
},
"gemini": {
"enabled": false
},
"gifgrep": {
"enabled": false
},
"gog": {
"enabled": false
},
"goplaces": {
"enabled": false
},
"himalaya": {
"enabled": false
},
"imsg": {
"enabled": false
},
"mcporter": {
"enabled": false
},
"model-usage": {
"enabled": false
},
"nano-pdf": {
"enabled": false
},
"notion": {
"enabled": false
},
"obsidian": {
"enabled": false
},
"openai-whisper-api": {
"enabled": false
},
"openhue": {
"enabled": false
},
"oracle": {
"enabled": false
},
"ordercli": {
"enabled": false
},
"peekaboo": {
"enabled": false
},
"sag": {
"enabled": false
},
"session-logs": {
"enabled": false
},
"sherpa-onnx-tts": {
"enabled": false
},
"slack": {
"enabled": false
},
"songsee": {
"enabled": false
},
"sonoscli": {
"enabled": false
},
"spotify-player": {
"enabled": false
},
"summarize": {
"enabled": false
},
"things-mac": {
"enabled": false
},
"trello": {
"enabled": false
},
"voice-call": {
"enabled": false
},
"wacli": {
"enabled": false
},
"xurl": {
"enabled": false
}
}
}
}