OpenClaw Config Edit: Täydellinen asennus- ja konfigurointiopas (2026)
Hallitse openclaw config edit -komennot WhatsAppille, Discordille, Telegramille, Ollamalle ja muille. Vaiheittainen opas kanavien, mallien, tarjoajien konfigurointiin ja yleisten OpenClaw-konfigurointivirheiden korjaamiseen.
Lyhyesti
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
Mikä on OpenClaw?
OpenClaw on avoimen lähdekoodin tekoälyavustaja-framework, joka yhdistää suuret kielimallit viestintäkanaviin kuten WhatsApp, Discord, Telegram ja Slack. Se tukee useita mallitarjoajia ja sitä voidaan laajentaa mukautetuilla taidoilla ja liitännäisillä.
openclaw config edit: Perusteet
openclaw config edit
Konfigurointitiedosto on yleensä ~/.openclaw/config.yaml tai ~/.config/openclaw/config.yaml.
Tiedoston rakenne
model:
provider: openai
name: gpt-4o
temperature: 0.7
max_tokens: 4096
channels:
whatsapp:
enabled: false
phone_number_id: ""
access_token: ""
discord:
enabled: false
bot_token: ""
telegram:
enabled: false
bot_token: ""
slack:
enabled: false
bot_token: ""
app_token: ""
skills:
- web_search
- calculator
- weather
stt:
provider: whisper
model: whisper-1
system_prompt: "You are a helpful assistant."
Be first to build with AI
Y Build is the AI-era operating system for startups. Join the waitlist and get early access.
Kanavien asennus
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"
Mallitarjoajien konfigurointi
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 (Paikalliset mallit)
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-..."
Yleiset virheet ja korjaukset
Tarkista kirjoitusvirheet. Käytä openclaw config show nähdäksesi kaikki kelvolliset avaimet. Käytä openclaw doctor konfiguroinnin tarkistamiseen ja openclaw doctor --fix automaattiseen korjaukseen.
Edistynyt konfigurointi
Mukautetut taidot
skills:
- web_search
- custom_skill:
path: ./my-skills/custom_tool.py
Puheesta tekstiksi (STT)
stt:
provider: whisper
model: whisper-1
language: auto
Useita mallikonfiguraatioita
models:
default:
provider: openai
name: gpt-4o
fast:
provider: ollama
name: llama3.3
Usein kysytyt kysymykset
Missä OpenClaw config-tiedosto on?
~/.openclaw/config.yaml. Käytä openclaw config show --path.
Voinko käyttää OpenClawia ilman pilvi-API:a?
Kyllä. Käytä Ollamaa ja Telegramia polling-tilassa.Miten päivitän OpenClawin?
pip install --upgrade openclaw
Haluatko jotain yksinkertaisempaa?
Y Build hoitaa kaiken — käyttöönoton, tuotevideot, AI SEO:n ja analytiikan. Aloita ilmaiseksi →Lähteet:
Be first to build with AI
Y Build is the AI-era operating system for startups. Join the waitlist and get early access.