workany icon indicating copy to clipboard operation
workany copied to clipboard

fix: detect and propagate tool result errors

Open buuzzy opened this issue 7 months ago • 0 comments

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.

buuzzy avatar Apr 17 '26 01:04 buuzzy