Commit Graph

8 Commits

Author SHA1 Message Date
Jason (Json)
ee655f4d94 fix: scrub serialized tool-call text from replies (#86924)
* fix: scrub serialized tool-call text from replies

* fix: consume xmlish tool parameters
2026-05-27 01:16:58 +01:00
Jason (Json)
cd627803a0 fix: prevent plain text tool call leaks (#86222)
Prevent plain text tool call leaks from xAI/LM Studio fallback streams.

- Promotes plain-text tool-call fallback chunks into structured tool calls.
- Strips leaked internal tool syntax before user-facing/outbound text.
- Adds regression coverage across provider stream wrappers, tool payload parsing, user-facing sanitization, and outbound send validation.

Co-authored-by: fuller-stack-dev <263060202+fuller-stack-dev@users.noreply.github.com>
2026-05-25 08:15:11 +01:00
Shakker
ca73c8da43 test: assert tool payload parse blocks 2026-05-11 11:44:55 +01:00
Shakker
8c3a0c1296 test: align plain tool block parser spacing 2026-05-09 09:54:43 +01:00
Shakker
76df5aaac0 test: preserve bracketed tool block spacing 2026-05-09 09:38:25 +01:00
Peter Steinberger
ba2b033774 fix(plugin-sdk): parse harmony text tool calls 2026-05-09 09:25:19 +01:00
Vincent Koc
d99e8ce619 test(plugin-sdk): satisfy tool payload carrier typing 2026-04-08 09:07:29 +01:00
Vincent Koc
be530f085d refactor(plugin-sdk): share tool payload extraction 2026-04-08 09:07:28 +01:00