mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-18 20:03:33 +00:00
Update streaming component with final message in message_end event. The final message includes the stopReason, which allows the component to render "Aborted" text for aborted text generation. Now behavior is consistent: - Abort during text generation (no tool calls) → shows red "Aborted" - Abort during tool call streaming → tool components turn red |
||
|---|---|---|
| .. | ||
| src | ||
| test | ||
| example.json | ||
| example.txt | ||
| package.json | ||
| test.json | ||
| tsconfig.build.json | ||
| vitest.config.ts | ||