mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-28 05:20:41 +00:00
fix: avoid WhatsApp silent turns with final-only delivery (#24962) (thanks @SidQin-cyber)
This commit is contained in:
@@ -416,10 +416,9 @@ export async function processMessage(params: {
|
||||
onReplyStart: params.msg.sendComposing,
|
||||
},
|
||||
replyOptions: {
|
||||
disableBlockStreaming:
|
||||
typeof params.cfg.channels?.whatsapp?.blockStreaming === "boolean"
|
||||
? !params.cfg.channels.whatsapp.blockStreaming
|
||||
: undefined,
|
||||
// WhatsApp delivery intentionally suppresses non-final payloads.
|
||||
// Keep block streaming disabled so final replies are still produced.
|
||||
disableBlockStreaming: true,
|
||||
onModelSelected,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user