Skip to content

Conversation

@ethanndickson
Copy link
Member

@ethanndickson ethanndickson commented Nov 14, 2025

Generated with mux

Implements soft interrupts that pause streaming at block boundaries (tool calls, reasoning blocks) rather than immediately canceling. Hard interrupts remain available with a second Esc press.

Key changes:

  • Adds InterruptType enum (none, soft, hard) to track interrupt state
  • Stream manager detects block boundaries and emits interrupting deltas
  • UI shows "⏸️ Interrupting..." in orange when soft-interrupting
  • Second interrupt press forces immediate cancellation

Testing:

  • Stream interruption during tool calls
  • Stream interruption during reasoning blocks
  • Second press behavior

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@ethanndickson ethanndickson changed the base branch from main to queued-messages November 14, 2025 02:22
@ethanndickson ethanndickson marked this pull request as draft November 14, 2025 02:57
@ethanndickson ethanndickson force-pushed the soft-interrupts branch 3 times, most recently from 12c5222 to a608663 Compare November 14, 2025 08:29
@ethanndickson ethanndickson changed the base branch from queued-messages to main November 17, 2025 03:47
@ethanndickson ethanndickson marked this pull request as ready for review November 17, 2025 03:52
@ethanndickson
Copy link
Member Author

@codex review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

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