Skip to content

fix: mark failed tool results on the wire - #37

Merged
TheGreatAxios merged 2 commits into
mainfrom
fix/tool-error-wire-encoding
Nov 4, 2026
Merged

TheGreatAxios merged 2 commits into
mainfrom
fix/tool-error-wire-encoding

Conversation

@TheGreatAxios

@TheGreatAxios TheGreatAxios commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Closes CL-12061

Tool results now join text parts with \n and wrap isError results in <error>\n…\n</error>, matching Interchange's Chat adapter. Previously a failed tool looked like a success to the model.

@linear-code

linear-code Bot commented Nov 4, 2026

Copy link
Copy Markdown

CL-12061

@TheGreatAxios
TheGreatAxios merged commit f3fca8c into main Nov 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant