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