mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 04:01:56 +00:00
Two fixes for rendering aborted tools in --continue mode: 1. In renderInitialMessages: Check if assistant message was aborted/errored and immediately mark tool execution components as failed instead of leaving them in pending state. 2. In AssistantMessageComponent: Don't show "Aborted" text when there are tool calls in the message, since the tool execution components will show the error state themselves. This prevents duplicate error messages. Now aborted tools show properly as red with "Operation aborted" message, without the duplicate "Aborted" text above them. |
||
|---|---|---|
| .. | ||
| assistant-message.ts | ||
| custom-editor.ts | ||
| footer.ts | ||
| thinking-selector.ts | ||
| tool-execution.ts | ||
| tui-renderer.ts | ||
| user-message.ts | ||