mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 13:01:25 +00:00
fix(telegram): stop block streaming from splitting messages when streamMode is off (#17704)
Merged via /review-pr -> /prepare-pr -> /merge-pr.
Prepared head SHA: 847162caad
Co-authored-by: saivarunk <2976867+saivarunk@users.noreply.github.com>
Co-authored-by: obviyus <22031114+obviyus@users.noreply.github.com>
Reviewed-by: @obviyus
This commit is contained in:
committed by
GitHub
parent
1b223dbdd8
commit
c62b90a2b7
@@ -169,7 +169,7 @@ export const dispatchTelegramMessage = async ({
|
||||
const disableBlockStreaming =
|
||||
typeof telegramCfg.blockStreaming === "boolean"
|
||||
? !telegramCfg.blockStreaming
|
||||
: draftStream
|
||||
: draftStream || streamMode === "off"
|
||||
? true
|
||||
: undefined;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user