fix(mixin): stop failover after partial output - #801
Draft
Whxuan0701 wants to merge 1 commit into
Draft
Conversation
Author
|
Implementation and deterministic regression tests are ready in this draft. The tests cover pre-output failover, post-output commit semantics, generator completion, and routing on the next request. |
Whxuan0701
force-pushed
the
fix/mixin-partial-stream
branch
from
September 8, 2026 09:20
7411542 to
becade4
Compare
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.
Closes #798
What
Why
The old retry loop could return
A-part + A-error + B-completein one assistant response. Besides confusing users, mixing two independently generated continuations can corrupt structured output and tool calls.Validation
f6e5657: deterministic reproduction calls both nodes and yields['A-part', '!!!Error: reset', 'B-complete'].python -m py_compile llmcore.pyandgit diff --checkpassed.Scope
This does not change which provider/SSE errors are retryable inside a node. It only prevents cross-node failover after output has already been committed.