Repository navigation
补齐 Codex 借用的原版 Cookie 与流完成契约 - #280
Merged
Merged
Conversation
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.
补齐 ranxi v2.10.3 / fd1b5ee 非轮换协议对照中的边界差异:来源 Cookie 必须具有明确期限,来源响应须为 SSE;目标返回替换/删除的 __oailb 时立即在响应头阶段拒绝,按原版选择首个可用 __cflb。目标两轮探针恢复读取有界正文到 EOF,并使用原版完成及事件分隔判据;业务和鹈鹕生成继续使用各自的流完成逻辑。
保留活动来源优先级:新备用来源不挤掉仍有效的主来源,刷新失败时仍可保留有效候选,不延长租期。等待者截止时间仍优先,不增加换票重试、续期定时器、普通路径回退或出口切换。
验证:针对性 unit 回归通过,覆盖 Cookie 寿命、响应头拒绝且不读取正文、__cflb 顺序、未完整终止/尾部失败的流、等待 EOF 的超时、来源刷新失败保留候选、取消及既有流式生成边界。新增 validator 直接取自固定版本,并注明 LGPL 来源。修正属于协议移植差异,不能单独证明线上借用或上游完成已经成功;真实验收随最终固定版本部署进行。鹈鹕工作台在独立 PR #279。