fix: clean up slack threading landings (#1360) (thanks @SocialNerd42069)

This commit is contained in:
Peter Steinberger committed 2026-01-21 06:29:36 +00:00
1 parent b69aa011fe
commit 65dd73b4c3
4 files changed
+2 -3

No files matched your search

@@ -113,7 +113,7 @@ describe("subscribeEmbeddedPiSession", () => {
handler?.({ type: "message_end", message: assistantMessageWithNewline });
handler?.({ type: "message_end", message: assistantMessageTrimmed });
expect(subscription.assistantTexts).toEqual(["Hello world\n"]);
expect(subscription.assistantTexts).toEqual(["Hello world"]);
});
it("does not duplicate assistantTexts when message_end repeats with reasoning blocks", () => {
let handler: SessionEventHandler | undefined;