From 83b14dc46eaca0e7b8d6eb9c50e1e610c8ca2843 Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Sun, 3 May 2026 11:12:11 -0700 Subject: [PATCH] fix(docs): merge WhatsApp web config example --- CHANGELOG.md | 1 + docs/gateway/config-channels.md | 20 +++++++++----------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 70ebb2e4540..6f77b32b562 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ Docs: https://docs.openclaw.ai ### Fixes +- Docs/WhatsApp: merge the duplicate top-level `web` objects in the gateway channel config example so copy-pasted WhatsApp config keeps both `web.whatsapp` and reconnect settings. Fixes #76619. Thanks @WadydX. - Plugins/Anthropic: expose Claude thinking profiles from the bundled provider-policy artifact so non-runtime callers keep Opus 4.7 `adaptive`, `xhigh`, and `max` instead of downgrading to `high`. Fixes #76779. Thanks @tomascupr and @iAbhi001. - Discord/native commands: skip slash-command registration and cleanup REST calls when `channels.discord.commands.native=false`, letting low-power gateways start without waiting on disabled native-command lifecycle requests. Fixes #76202. Thanks @vincentkoc. - Plugins/commands: normalize empty plugin command handler results and let Telegram native plugin commands send the empty-response fallback instead of throwing when a handler returns `undefined`. Fixes #74800. Thanks @vincentkoc. diff --git a/docs/gateway/config-channels.md b/docs/gateway/config-channels.md index 8a9feea8ff8..86b5eca5ceb 100644 --- a/docs/gateway/config-channels.md +++ b/docs/gateway/config-channels.md @@ -97,11 +97,20 @@ WhatsApp runs through the gateway's web channel (Baileys Web). It starts automat ```json5 { web: { + enabled: true, + heartbeatSeconds: 60, whatsapp: { keepAliveIntervalMs: 25000, connectTimeoutMs: 60000, defaultQueryTimeoutMs: 60000, }, + reconnect: { + initialMs: 2000, + maxMs: 120000, + factor: 1.4, + jitter: 0.2, + maxAttempts: 0, + }, }, channels: { whatsapp: { @@ -118,17 +127,6 @@ WhatsApp runs through the gateway's web channel (Baileys Web). It starts automat groupAllowFrom: ["+15551234567"], }, }, - web: { - enabled: true, - heartbeatSeconds: 60, - reconnect: { - initialMs: 2000, - maxMs: 120000, - factor: 1.4, - jitter: 0.2, - maxAttempts: 0, - }, - }, } ```