Commit Graph

7 Commits

Author SHA1 Message Date
Erik
294178e5ed test: add thought tag stripping test case 2026-01-15 05:58:02 +00:00
Erik
63985033ff fix(agent): strip thinking tags from text content 2026-01-15 05:58:02 +00:00
Erik
506623e323 fix(agents): strip leaked tool call text from assistant messages
When replaying conversation history to Gemini, tool calls without
thought_signature are downgraded to text blocks like [Tool Call: ...].
This leaked internal technical info into user-facing chat messages.

Added stripDowngradedToolCallText filter alongside existing Minimax
filter to remove these text representations before extraction.
2026-01-15 05:58:02 +00:00
Peter Steinberger
b6d1837e8c test: expand Minimax XML strip coverage 2026-01-13 00:43:59 +00:00
Peter Steinberger
5596c1474f fix: gate minimax XML stripping (#809) (thanks @latitudeki5223) 2026-01-13 00:36:39 +00:00
L36 Server
ab019f4ccc style: fix import order in pi-embedded-utils.test.ts 2026-01-13 00:34:01 +00:00
L36 Server
f95e15c9fe fix(minimax): strip tool invocation XML from assistant text 2026-01-13 00:34:01 +00:00