Update config.example.json

This commit is contained in:
izaac49 2026-02-12 22:14:49 +07:00 committed by GitHub
parent 1ccc3d2cb9
commit f5234da1cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,7 +2,7 @@
"agents": { "agents": {
"defaults": { "defaults": {
"workspace": "~/.picoclaw/workspace", "workspace": "~/.picoclaw/workspace",
"model": "glm-4.7", "model": "openrouter",
"max_tokens": 8192, "max_tokens": 8192,
"temperature": 0.7, "temperature": 0.7,
"max_tool_iterations": 20 "max_tool_iterations": 20
@ -10,13 +10,13 @@
}, },
"channels": { "channels": {
"telegram": { "telegram": {
"enabled": false, "enabled": true,
"token": "YOUR_TELEGRAM_BOT_TOKEN", "token": "${TELEGRAM_BOT_TOKEN}",
"allow_from": ["YOUR_USER_ID"] "allow_from": ["${TELEGRAM_CHAT_ID}"]
}, },
"discord": { "discord": {
"enabled": false, "enabled": false,
"token": "YOUR_DISCORD_BOT_TOKEN", "token": "",
"allow_from": [] "allow_from": []
}, },
"maixcam": { "maixcam": {
@ -27,7 +27,7 @@
}, },
"whatsapp": { "whatsapp": {
"enabled": false, "enabled": false,
"bridge_url": "ws://localhost:3001", "bridge_url": "",
"allow_from": [] "allow_from": []
}, },
"feishu": { "feishu": {
@ -40,51 +40,27 @@
}, },
"dingtalk": { "dingtalk": {
"enabled": false, "enabled": false,
"client_id": "YOUR_CLIENT_ID", "client_id": "",
"client_secret": "YOUR_CLIENT_SECRET", "client_secret": "",
"allow_from": [] "allow_from": []
}, },
"slack": { "slack": {
"enabled": false, "enabled": false,
"bot_token": "xoxb-YOUR-BOT-TOKEN", "bot_token": "",
"app_token": "xapp-YOUR-APP-TOKEN", "app_token": "",
"allow_from": [] "allow_from": []
} }
}, },
"providers": { "providers": {
"anthropic": {
"api_key": "",
"api_base": ""
},
"openai": {
"api_key": "",
"api_base": ""
},
"openrouter": { "openrouter": {
"api_key": "sk-or-v1-xxx", "api_key": "${OPENROUTER_API_KEY}",
"api_base": ""
},
"groq": {
"api_key": "gsk_xxx",
"api_base": ""
},
"zhipu": {
"api_key": "YOUR_ZHIPU_API_KEY",
"api_base": ""
},
"gemini": {
"api_key": "",
"api_base": ""
},
"vllm": {
"api_key": "",
"api_base": "" "api_base": ""
} }
}, },
"tools": { "tools": {
"web": { "web": {
"search": { "search": {
"api_key": "YOUR_BRAVE_API_KEY", "api_key": "${BRAVE_API_KEY}",
"max_results": 5 "max_results": 5
} }
} }