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
🤖 Fix tool error display and WRITE DENIED collapse
Two fixes:
1. Tool error display: GenericToolCall now properly detects and displays
tool errors in both formats ({ error: '...' } from AI SDK and
{ success: false, error: '...' } from tool implementations). Status
is correctly shown as 'failed' instead of 'completed' for errors.
2. WRITE DENIED collapse: FileEditToolCall now uses useEffect to collapse
when WRITE DENIED result arrives, fixing issue where initial render
(before result available) would expand the tool call.
Both formats are now consistently handled across all tool types.
0 commit comments