Repository navigation
feat(infinity-daemon): add input-less Interrupt for in-flight generation - #142
Merged
Merged
Conversation
Deploying infinity with
|
| Latest commit: |
c984bbd
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://0ebd1bf1.infinity-dc7.pages.dev |
| Branch Preview URL: | https://pr-daemon-interrupt.infinity-dc7.pages.dev |
This was referenced Oct 16, 2026
akainth015
force-pushed
the
pr/daemon-interrupt
branch
from
October 16, 2026 17:02
cef46b4 to
50c035d
Compare
akainth015
force-pushed
the
pr/daemon-interrupt
branch
from
October 16, 2026 17:43
50c035d to
c984bbd
Compare
akainth015
force-pushed
the
pr/daemon-interrupt
branch
from
October 19, 2026 20:31
c984bbd to
2fe43b6
Compare
This was referenced Oct 19, 2026
Member
Author
|
Superseded by #165 — this PR was auto-marked merged by a stack reorder (its commit became reachable from its base branch). It never reached |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
ClientMessage::Interrupt { thread_id }: cancels the in-flight completion on the target thread and its active descendants without queuing input or shutting the session down. Reuses the driver's text-interrupt machinery via aTaggedSyntheticKind::Interruptmarker; trailing unanswered tool calls get synthetic 'interrupted' results (late real results are dropped — stops multi-step loops), pending choices are dismissed, oneResponseDoneper interrupted thread settles clients. Old daemons skip the unknown frame safely.Stacked; part 3 of 6.