mirror of
https://github.com/earendil-works/pi.git
synced 2026-06-18 15:54:04 +08: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