OpenClaw Config Edit : Guide complet d'installation et de configuration (2026)
Maîtrisez les commandes openclaw config edit pour WhatsApp, Discord, Telegram, Ollama et plus. Guide étape par étape pour configurer les canaux, modèles, fournisseurs et corriger les erreurs courantes de configuration OpenClaw.
En bref
openclaw config edit
openclaw config set channels.whatsapp.enabled true
openclaw config set model.provider openai
openclaw config set model.name gpt-4o
openclaw config show
openclaw doctor
openclaw doctor --fix
openclaw config reset
Qu'est-ce qu'OpenClaw ?
OpenClaw est un framework d'assistant IA open-source qui connecte les grands modèles de langage aux canaux de messagerie comme WhatsApp, Discord, Telegram et Slack. Il prend en charge plusieurs fournisseurs de modèles et peut être étendu avec des compétences et plugins personnalisés.
Be first to build with AI
Y Build is the AI-era operating system for startups. Join the waitlist and get early access.
Configuration des canaux
openclaw config set channels.whatsapp.enabled true
openclaw config set channels.whatsapp.phone_number_id "YOUR_PHONE_NUMBER_ID"
openclaw config set channels.whatsapp.access_token "YOUR_ACCESS_TOKEN"
openclaw config set channels.whatsapp.webhook_url "https://your-domain.com/webhook/whatsapp"
Discord
openclaw config set channels.discord.enabled true
openclaw config set channels.discord.bot_token "YOUR_DISCORD_BOT_TOKEN"
Telegram
openclaw config set channels.telegram.enabled true
openclaw config set channels.telegram.bot_token "YOUR_TELEGRAM_BOT_TOKEN"
openclaw config set channels.telegram.mode polling
Slack
openclaw config set channels.slack.enabled true
openclaw config set channels.slack.bot_token "xoxb-YOUR-BOT-TOKEN"
openclaw config set channels.slack.app_token "xapp-YOUR-APP-TOKEN"
Configuration des fournisseurs de modèles
OpenAI
openclaw config set model.provider openai
openclaw config set model.name gpt-4o
export OPENAI_API_KEY="sk-..."
Anthropic (Claude)
openclaw config set model.provider anthropic
openclaw config set model.name claude-sonnet-4-6
export ANTHROPIC_API_KEY="sk-ant-..."
Ollama (Modèles locaux)
ollama pull llama3.3
openclaw config set model.provider ollama
openclaw config set model.name llama3.3
openclaw config set model.base_url "http://localhost:11434"
Google (Gemini)
openclaw config set model.provider google
openclaw config set model.name gemini-2.5-pro
export GOOGLE_API_KEY="..."
xAI (Grok)
openclaw config set model.provider openai
openclaw config set model.name grok-4.1
openclaw config set model.base_url "https://api.x.ai/v1"
export OPENAI_API_KEY="xai-..."
Erreurs courantes et solutions
Vérifiez les fautes de frappe. Utilisez openclaw config show et openclaw doctor pour le diagnostic.
Configuration avancée
Compétences personnalisées
skills:
- web_search
- custom_skill:
path: ./my-skills/custom_tool.py
Configurations de modèles multiples
models:
default:
provider: openai
name: gpt-4o
fast:
provider: ollama
name: llama3.3
reasoning:
provider: anthropic
name: claude-opus-4-6
Vous voulez quelque chose de plus simple ?
Y Build gère toute la pile — déploiement, vidéos produit, AI SEO et analytics. Pas de fichiers de configuration. Pas de terminal. Commencez gratuitement →Sources :
Be first to build with AI
Y Build is the AI-era operating system for startups. Join the waitlist and get early access.