Current behaviour
When a request is aborted mid-stream and the user sends a follow-up, the error block ([error: Request was aborted.]) renders above the new prompt. Visually it appears as though the error is a response to the follow-up message rather than the previous query.
Expected order: prompt → error → next prompt → next response
Actual order: error → next prompt (swapped)
Reproduction
- Send a query
- Abort mid-stream
- Type and send a follow-up message
- Observe: error block and subsequent prompt appear in the wrong order
Current behaviour
When a request is aborted mid-stream and the user sends a follow-up, the error block (
[error: Request was aborted.]) renders above the new prompt. Visually it appears as though the error is a response to the follow-up message rather than the previous query.Expected order: prompt → error → next prompt → next response
Actual order: error → next prompt (swapped)
Reproduction