Skip to content

Conversation

@daniviber
Copy link
Contributor

Tool calls that return outputs containing isError: true are now correctly displayed as failures with red error styling, instead of being shown as successes with green styling.

Changes:

  • Add hasOutputError() utility to detect isError flag in JSON outputs
  • Update tool-tester to check for isError:true and display red error UI
  • Update ToolCallDetail to conditionally style based on output error flag
  • Add 24 comprehensive unit tests for error detection and UI behavior

Closes #128

🤖 Generated with Claude Code

Tool calls that return outputs containing `isError: true` are now correctly
displayed as failures with red error styling, instead of being shown as
successes with green styling.

Changes:
- Add hasOutputError() utility to detect isError flag in JSON outputs
- Update tool-tester to check for isError:true and display red error UI
- Update ToolCallDetail to conditionally style based on output error flag
- Add 24 comprehensive unit tests for error detection and UI behavior

Closes #128

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@daniviber daniviber requested a review from EigerAI November 28, 2025 17:08
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.

fix: Display tool outputs with isError:true as failures (red UI)

2 participants