GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||
GeezerVison is showing github.com — fix(route-proxy): fail over on pre-content stream errors (#3325) by dezren39 · Pull Request #5558 · developing-today/code Conversation
|
|
Caution Review failedThe pull request is closed.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here are some automated review suggestions for this pull request.
Reviewed commit: f9beae3979
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
agent-note:v1 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…m on preface overflow (#5558 Codex P2s)
…x-fixes # Conflicts: # bin/opencode-route-proxy.test.mjs
|
🤖 Agent note · merging under the standing criteria (task 14021, lane code-t)
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here are some automated review suggestions for this pull request.
Reviewed commit: e341314275
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| if (state.done) | ||
| return { | ||
| error: new LeafError("leaf stream ended before content", { | ||
| tag: "ProviderInternal", | ||
| }), |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Preserve successful terminal chunks with no content
When a provider returns a valid empty completion—an assistant role followed by delta: {} with finish_reason: "stop", "content_filter", or "length", then [DONE]—the inspector never sets contentStarted because it ignores finish_reason. This branch consequently discards the completed response and retries another provider; if all candidates return empty completions, the client receives a proxy error instead of the original terminal chunks and usage. Previously these events were relayed unchanged. Track terminal completion separately from nonempty content so an explicitly finished empty response is not treated as a failed stream.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
workhorse route: sessions die on quota-exhausted muse-spark leg instead of falling through to a live leg (22:40 wave, 5 roots)
There was an error while loading. Please reload this page.