Update config.example.json

This commit is contained in:
Abdullahgharbi 2026-02-27 21:26:44 +02:00 committed by GitHub
parent 2f4f45080b
commit 124b560478
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,253 +3,62 @@
"defaults": { "defaults": {
"workspace": "~/.picoclaw/workspace", "workspace": "~/.picoclaw/workspace",
"restrict_to_workspace": true, "restrict_to_workspace": true,
"model_name": "gpt4", "model_name": "groq-llama",
"max_tokens": 8192, "max_tokens": 4096,
"temperature": 0.7, "temperature": 0.7,
"max_tool_iterations": 20 "max_tool_iterations": 20
} }
}, },
"model_list": [ "model_list": [
{ {
"model_name": "gpt4", "model_name": "groq-llama",
"model": "openai/gpt-5.2", "model": "groq/llama-3.3-70b-versatile",
"api_key": "sk-your-openai-key", "api_key": "GROQ_LLM_API_KEY",
"api_base": "https://api.openai.com/v1" "api_base": "https://api.groq.com/openai/v1"
}, },
{ {
"model_name": "claude-sonnet-4.6", "model_name": "gemini-flash",
"model": "anthropic/claude-sonnet-4.6", "model": "google/gemini-1.5-flash",
"api_key": "sk-ant-your-key", "api_key": "GENNI_LLM_API_KEY",
"api_base": "https://api.anthropic.com/v1" "api_base": "https://generativelanguage.googleapis.com/v1beta/openai"
}, },
{ {
"model_name": "gemini", "model_name": "openrouter-chat",
"model": "antigravity/gemini-2.0-flash", "model": "openrouter/google/gemini-2.0-flash-001",
"auth_method": "oauth" "api_key": "OPENROUTER_LLM_API_KEY",
}, "api_base": "https://openrouter.ai/api/v1"
{
"model_name": "deepseek",
"model": "deepseek/deepseek-chat",
"api_key": "sk-your-deepseek-key"
},
{
"model_name": "loadbalanced-gpt4",
"model": "openai/gpt-5.2",
"api_key": "sk-key1",
"api_base": "https://api1.example.com/v1"
},
{
"model_name": "loadbalanced-gpt4",
"model": "openai/gpt-5.2",
"api_key": "sk-key2",
"api_base": "https://api2.example.com/v1"
} }
], ],
"channels": { "channels": {
"telegram": { "telegram": {
"enabled": false, "enabled": true,
"token": "YOUR_TELEGRAM_BOT_TOKEN", "token": "TELEGRAM_TOKEM",
"proxy": "",
"allow_from": [ "allow_from": [
"YOUR_USER_ID" "ID_TOKEN"
], ]
"reasoning_channel_id": ""
},
"discord": {
"enabled": false,
"token": "YOUR_DISCORD_BOT_TOKEN",
"allow_from": [],
"mention_only": false,
"reasoning_channel_id": ""
},
"qq": {
"enabled": false,
"app_id": "YOUR_QQ_APP_ID",
"app_secret": "YOUR_QQ_APP_SECRET",
"allow_from": [],
"reasoning_channel_id": ""
},
"maixcam": {
"enabled": false,
"host": "0.0.0.0",
"port": 18790,
"allow_from": [],
"reasoning_channel_id": ""
}, },
"whatsapp": { "whatsapp": {
"enabled": false, "enabled": false,
"bridge_url": "ws://localhost:3001", "bridge_url": "ws://localhost:3001",
"use_native": false, "allow_from": []
"session_store_path": "",
"allow_from": [],
"reasoning_channel_id": ""
},
"feishu": {
"enabled": false,
"app_id": "",
"app_secret": "",
"encrypt_key": "",
"verification_token": "",
"allow_from": [],
"reasoning_channel_id": ""
},
"dingtalk": {
"enabled": false,
"client_id": "YOUR_CLIENT_ID",
"client_secret": "YOUR_CLIENT_SECRET",
"allow_from": [],
"reasoning_channel_id": ""
},
"slack": {
"enabled": false,
"bot_token": "xoxb-YOUR-BOT-TOKEN",
"app_token": "xapp-YOUR-APP-TOKEN",
"allow_from": [],
"reasoning_channel_id": ""
},
"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": [],
"reasoning_channel_id": ""
},
"onebot": {
"enabled": false,
"ws_url": "ws://127.0.0.1:3001",
"access_token": "",
"reconnect_interval": 5,
"group_trigger_prefix": [],
"allow_from": [],
"reasoning_channel_id": ""
},
"wecom": {
"_comment": "WeCom Bot (智能机器人) - Easier setup, supports group chats",
"enabled": false,
"token": "YOUR_TOKEN",
"encoding_aes_key": "YOUR_43_CHAR_ENCODING_AES_KEY",
"webhook_url": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=YOUR_KEY",
"webhook_host": "0.0.0.0",
"webhook_port": 18793,
"webhook_path": "/webhook/wecom",
"allow_from": [],
"reply_timeout": 5,
"reasoning_channel_id": ""
},
"wecom_app": {
"_comment": "WeCom App (自建应用) - More features, proactive messaging, private chat only. See docs/wecom-app-configuration.md",
"enabled": false,
"corp_id": "YOUR_CORP_ID",
"corp_secret": "YOUR_CORP_SECRET",
"agent_id": 1000002,
"token": "YOUR_TOKEN",
"encoding_aes_key": "YOUR_43_CHAR_ENCODING_AES_KEY",
"webhook_host": "0.0.0.0",
"webhook_port": 18792,
"webhook_path": "/webhook/wecom-app",
"allow_from": [],
"reply_timeout": 5,
"reasoning_channel_id": ""
} }
}, },
"providers": { "providers": {
"_comment": "DEPRECATED: Use model_list instead. This will be removed in a future version", "groq": {
"anthropic": { "api_key": "ضع_مفتاح_قروك_هنا",
"api_key": "", "api_base": "https://api.groq.com/openai/v1"
"api_base": ""
}, },
"openai": { "openai": {
"api_key": "", "api_key": "نفس_مفتاح_قروك_او_جمناي",
"api_base": "", "api_base": "تلقائي",
"web_search": true "web_search": true
},
"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": ""
},
"qwen": {
"api_key": "sk-xxx",
"api_base": ""
},
"ollama": {
"api_key": "",
"api_base": "http://localhost:11434/v1"
},
"cerebras": {
"api_key": "",
"api_base": ""
},
"volcengine": {
"api_key": "",
"api_base": ""
},
"mistral": {
"api_key": "",
"api_base": "https://api.mistral.ai/v1"
} }
}, },
"tools": { "tools": {
"web": { "web": {
"brave": {
"enabled": false,
"api_key": "YOUR_BRAVE_API_KEY",
"max_results": 5
},
"duckduckgo": { "duckduckgo": {
"enabled": true, "enabled": true,
"max_results": 5 "max_results": 5
},
"perplexity": {
"enabled": false,
"api_key": "pplx-xxx",
"max_results": 5
},
"proxy": ""
},
"cron": {
"exec_timeout_minutes": 5
},
"exec": {
"enable_deny_patterns": false,
"custom_deny_patterns": []
},
"skills": {
"registries": {
"clawhub": {
"enabled": true,
"base_url": "https://clawhub.ai",
"search_path": "/api/v1/search",
"skills_path": "/api/v1/skills",
"download_path": "/api/v1/download"
}
} }
} }
}, },
@ -257,12 +66,8 @@
"enabled": true, "enabled": true,
"interval": 30 "interval": 30
}, },
"devices": {
"enabled": false,
"monitor_usb": true
},
"gateway": { "gateway": {
"host": "127.0.0.1", "host": "0.0.0.0",
"port": 18790 "port": 18790
} }
} }