diff --git a/src/agents/pi-embedded-utils.test.ts b/src/agents/pi-embedded-utils.test.ts index 7b2fc6ed7c2..45185f6c4a1 100644 --- a/src/agents/pi-embedded-utils.test.ts +++ b/src/agents/pi-embedded-utils.test.ts @@ -468,21 +468,6 @@ File contents here`, expect(extractAssistantText(msg)).toBe("Prefix\n\nSuffix"); }); - it("strips XML-style function_calls blocks from assistant text", () => { - const msg = makeAssistantMessage({ - role: "assistant", - content: [ - { - type: "text", - text: 'Before\nx\nAfter', - }, - ], - timestamp: Date.now(), - }); - - expect(extractAssistantText(msg)).toBe("Before\n\nAfter"); - }); - it("strips dangling XML content to end-of-string", () => { const msg = makeAssistantMessage({ role: "assistant",