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:
Varun Kruthiventi
2026-02-16 09:57:29 +05:30
committed by GitHub
parent 1b223dbdd8
commit c62b90a2b7
3 changed files with 26 additions and 2 deletions

View File

@@ -169,7 +169,7 @@ export const dispatchTelegramMessage = async ({
const disableBlockStreaming =
typeof telegramCfg.blockStreaming === "boolean"
? !telegramCfg.blockStreaming
: draftStream
: draftStream || streamMode === "off"
? true
: undefined;