You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Show a concise tool failure summary by default and move raw diagnostic details behind a disclosure.
Problem
A real tool validation failure currently renders a human-readable error card followed by a large raw error payload containing repeated messages and schema details. In the observed session, one failed turn grew to roughly 2631px and repeated the same failure several times.
This makes the conversation difficult to scan and gives internal diagnostics the same visual priority as the actionable explanation.
Render one concise, actionable failure summary by default. Put raw validation details, tool arguments, and diagnostic payloads inside a collapsed disclosure that users can inspect or copy when needed.
Acceptance criteria
A tool failure has one clear default summary.
Repeated provider/runtime error text is deduplicated.
Raw diagnostic details are collapsed by default and keyboard accessible.
Copy behavior remains available for diagnostics.
Secret redaction and output-size caps remain enforced.
Validation, permission, unavailable-tool, timeout, and generic runtime failures are checked.
Long error payloads do not dominate the conversation until explicitly expanded.
Relevant renderer contracts and deterministic visual fixtures cover collapsed and expanded states.
Activity
fix(ui): close empty errored output panel + verify expanded disclosure
fix(ui): cap error banner at 4 lines + fix half-controlled disclosure
fix(ui): collapse verbose tool failure details behind a disclosure (#741
fix(ui): keep errored tools collapsed instead of force-expanding (#1036)