mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-17 20:05:05 +00:00
When user presses Esc during tool argument streaming, the assistant message ends with stopReason="aborted" but tool execution never starts. Now we check for aborted/error stopReasons in message_end and update all pending tool execution components to show red error state with "Operation aborted" message. This fixes the issue where tool components stayed stuck in blue/pending state after aborting during JSON streaming. |
||
|---|---|---|
| .. | ||
| src | ||
| test | ||
| example.json | ||
| example.txt | ||
| package.json | ||
| test.json | ||
| tsconfig.build.json | ||
| vitest.config.ts | ||