Skip to content

fix: detect and propagate tool result errors#55

Open
buuzzy wants to merge 1 commit into
workany-ai:devfrom
buuzzy:fix/tool-result-error-detection
Open

fix: detect and propagate tool result errors#55
buuzzy wants to merge 1 commit into
workany-ai:devfrom
buuzzy:fix/tool-result-error-detection

Conversation

@buuzzy

@buuzzy buuzzy commented Apr 17, 2026

Copy link
Copy Markdown

Tool results always had isError: false, even when output contained Error:, ECONNREFUSED, 403, etc. The frontend couldn't distinguish successful tool calls from failed ones.

Fix: Added looksLikeError() heuristic + respect SDK's is_error flag.

Tool results always had isError: false, even when the output clearly
indicated an error. Added looksLikeError() heuristic and respect for
the SDK's is_error flag.
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