Skip to content

Discard unfinished assistant output on interrupt - #12

Merged
K-Mistele merged 1 commit into
mainfrom
fix/discard-interrupted-output
Aug 22, 2026
Merged

Discard unfinished assistant output on interrupt#12
K-Mistele merged 1 commit into
mainfrom
fix/discard-interrupted-output

Conversation

@K-Mistele

Copy link
Copy Markdown
Contributor

Summary

  • stop persisting partial assistant text when a model request is interrupted
  • keep the terminal agent-finished{interrupted} event as the durable record of the aborted turn
  • ensure resumed prompts do not replay unfinished output

Verification

  • bun run typecheck
  • bun run test
  • bun run format:check
  • bun run lint (passes with 27 existing warnings)

@K-Mistele
K-Mistele merged commit b1aa8f0 into main Aug 22, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant