mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-06-12 18:08:54 +00:00
194 lines
4.2 KiB
JSON
194 lines
4.2 KiB
JSON
{
|
|
"agents": {
|
|
"defaults": {
|
|
"workspace": "~/.picoclaw/workspace",
|
|
"restrict_to_workspace": true,
|
|
"model": "glm-4.7",
|
|
"max_tokens": 8192,
|
|
"temperature": 0.7,
|
|
"max_tool_iterations": 20
|
|
}
|
|
},
|
|
"channels": {
|
|
"telegram": {
|
|
"enabled": false,
|
|
"token": "YOUR_TELEGRAM_BOT_TOKEN",
|
|
"proxy": "",
|
|
"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": []
|
|
},
|
|
"slack": {
|
|
"enabled": false,
|
|
"bot_token": "xoxb-YOUR-BOT-TOKEN",
|
|
"app_token": "xapp-YOUR-APP-TOKEN",
|
|
"allow_from": []
|
|
},
|
|
"line": {
|
|
"enabled": false,
|
|
"channel_secret": "YOUR_LINE_CHANNEL_SECRET",
|
|
"channel_access_token": "YOUR_LINE_CHANNEL_ACCESS_TOKEN",
|
|
"webhook_host": "0.0.0.0",
|
|
"webhook_port": 18791,
|
|
"webhook_path": "/webhook/line",
|
|
"allow_from": []
|
|
},
|
|
"onebot": {
|
|
"enabled": false,
|
|
"ws_url": "ws://127.0.0.1:3001",
|
|
"access_token": "",
|
|
"reconnect_interval": 5,
|
|
"group_trigger_prefix": [],
|
|
"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_base": ""
|
|
},
|
|
"nvidia": {
|
|
"api_key": "nvapi-xxx",
|
|
"api_base": "",
|
|
"proxy": "http://127.0.0.1:7890"
|
|
},
|
|
"moonshot": {
|
|
"api_key": "sk-xxx",
|
|
"api_base": ""
|
|
},
|
|
"ollama": {
|
|
"api_key": "",
|
|
"api_base": "http://localhost:11434/v1"
|
|
}
|
|
},
|
|
"tools": {
|
|
"web": {
|
|
"search": {
|
|
"api_key": "YOUR_BRAVE_API_KEY",
|
|
"max_results": 5
|
|
}
|
|
},
|
|
"mcp": {
|
|
"enabled": false,
|
|
"servers": {
|
|
"filesystem": {
|
|
"enabled": false,
|
|
"command": "npx",
|
|
"args": [
|
|
"-y",
|
|
"@modelcontextprotocol/server-filesystem",
|
|
"/tmp"
|
|
],
|
|
"env": {}
|
|
},
|
|
"github": {
|
|
"enabled": false,
|
|
"command": "npx",
|
|
"args": [
|
|
"-y",
|
|
"@modelcontextprotocol/server-github"
|
|
],
|
|
"env": {
|
|
"GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_TOKEN"
|
|
},
|
|
"envFile": ".env"
|
|
},
|
|
"brave-search": {
|
|
"enabled": false,
|
|
"command": "npx",
|
|
"args": [
|
|
"-y",
|
|
"@modelcontextprotocol/server-brave-search"
|
|
],
|
|
"env": {
|
|
"BRAVE_API_KEY": "YOUR_BRAVE_API_KEY"
|
|
}
|
|
},
|
|
"postgres": {
|
|
"enabled": false,
|
|
"command": "npx",
|
|
"args": [
|
|
"-y",
|
|
"@modelcontextprotocol/server-postgres",
|
|
"postgresql://user:password@localhost/dbname"
|
|
]
|
|
},
|
|
"remote-http-example": {
|
|
"enabled": false,
|
|
"url": "https://mcp-server.example.com/stream",
|
|
"type": "sse",
|
|
"headers": {
|
|
"Authorization": "Bearer YOUR_TOKEN",
|
|
"X-Custom-Header": "custom-value"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"heartbeat": {
|
|
"enabled": true,
|
|
"interval": 30
|
|
},
|
|
"devices": {
|
|
"enabled": false,
|
|
"monitor_usb": true
|
|
},
|
|
"gateway": {
|
|
"host": "0.0.0.0",
|
|
"port": 18790
|
|
}
|
|
} |