Skip to content

Commit e9e6938

Browse files
committed
fix(telegram): assert forum thread at draft-stream boundary for both lanes
1 parent bb059e9 commit e9e6938

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

extensions/telegram/src/bot-message-dispatch.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3566,6 +3566,10 @@ describe("dispatchTelegramMessage draft streaming", () => {
35663566
text: "Answer",
35673567
messageThreadId: 88,
35683568
});
3569+
expectDraftStreamParams({ thread: { id: 88, scope: "forum" } });
3570+
expectRecordFields(mockCallArg(createTelegramDraftStream, 1), {
3571+
thread: { id: 88, scope: "forum" },
3572+
});
35693573
});
35703574

35713575
it("replaces reasoning snapshots on the reasoning lane", async () => {

0 commit comments

Comments
 (0)