mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-04-13 04:27:28 +08:00
85 lines
1.7 KiB
JSON
85 lines
1.7 KiB
JSON
{
|
|
"agents": {
|
|
"defaults": {
|
|
"workspace": "~/.clawgo/workspace",
|
|
"model": "glm-4.7",
|
|
"model_fallbacks": ["gpt-4o-mini", "deepseek-chat"],
|
|
"max_tokens": 8192,
|
|
"temperature": 0.7,
|
|
"max_tool_iterations": 20
|
|
}
|
|
},
|
|
"channels": {
|
|
"telegram": {
|
|
"enabled": false,
|
|
"token": "YOUR_TELEGRAM_BOT_TOKEN",
|
|
"allow_from": ["YOUR_USER_ID"]
|
|
},
|
|
"discord": {
|
|
"enabled": false,
|
|
"token": "YOUR_DISCORD_BOT_TOKEN",
|
|
"allow_from": []
|
|
},
|
|
"maixcam": {
|
|
"enabled": false,
|
|
"host": "0.0.0.0",
|
|
"port": 18790,
|
|
"allow_from": []
|
|
},
|
|
"whatsapp": {
|
|
"enabled": false,
|
|
"bridge_url": "ws://localhost:3001",
|
|
"allow_from": []
|
|
},
|
|
"feishu": {
|
|
"enabled": false,
|
|
"app_id": "",
|
|
"app_secret": "",
|
|
"encrypt_key": "",
|
|
"verification_token": "",
|
|
"allow_from": []
|
|
},
|
|
"dingtalk": {
|
|
"enabled": false,
|
|
"client_id": "YOUR_CLIENT_ID",
|
|
"client_secret": "YOUR_CLIENT_SECRET",
|
|
"allow_from": []
|
|
}
|
|
},
|
|
"providers": {
|
|
"proxy": {
|
|
"api_key": "YOUR_CLIPROXYAPI_KEY",
|
|
"api_base": "http://localhost:8080/v1",
|
|
"auth": "bearer",
|
|
"timeout_sec": 90
|
|
}
|
|
},
|
|
"tools": {
|
|
"web": {
|
|
"search": {
|
|
"api_key": "YOUR_BRAVE_API_KEY",
|
|
"max_results": 5
|
|
}
|
|
}
|
|
},
|
|
"gateway": {
|
|
"host": "0.0.0.0",
|
|
"port": 18790
|
|
},
|
|
"cron": {
|
|
"min_sleep_sec": 1,
|
|
"max_sleep_sec": 30,
|
|
"retry_backoff_base_sec": 30,
|
|
"retry_backoff_max_sec": 1800,
|
|
"max_consecutive_failure_retries": 5,
|
|
"max_workers": 4
|
|
},
|
|
"logging": {
|
|
"enabled": true,
|
|
"dir": "~/.clawgo/logs",
|
|
"filename": "clawgo.log",
|
|
"max_size_mb": 20,
|
|
"retention_days": 3
|
|
}
|
|
}
|