Repository navigation
[PR] docs: Document GPT-6.2 folding dropping reasoning (#7144: keep-as-is ruling) | docs: GPT-6.2 折叠丢推理的文档记录(#7144 维持现状裁定) - #7250
ranxianglei wants to merge 2 commits into
Conversation
…ost ruling (#7144) GPT-6.2 (Responses API) voids reasoning items after any client-side prefix edit. bili folds and the #651 reasoning drop are exactly that kind of edit, so on gpt-6.2+ responses sessions the live tail reasoning is invalidated and the model re-derives. This documents the mechanism, scopes the consequence (same axis as compress.preserveRecentMessages:0, inside the tool's existing design envelope), records the owner's 2026-11-19 ruling to keep the status quo, and lists the cheap levers if a measurable symptom appears.
📦 Built Package ArtifactBranch: Latest build — install this exact versionnpm install -g billion-context@0.0.10934-pr.7250.f09a624This exact version is immutable and reproducible. The rolling Recent builds (commit → version)
Download artifact
tar xzf billion-context-pr7250.tgz
npm install -g packageInstall instructions are refreshed on each push. |
…7144) The new ZH section referenced '上文无状态重放设计(#1954)' (the stateless replay design above), but the ZH technical notes are a partial translation and do not contain the #1954 section (the EN doc has it at line 287, above the new section). Drop '上文' so the reference is accurate; it still points to #1954 by number.
(ai: vllm-qwen/qwen3.8-27b) 查重: 不重复 — 搜了 open+closed 的 issue/PR,只有本 PR(#7250)针对「GPT-6.2 折叠丢推理的文档记录」;#7144 是裁定来源,不是平行实现 PR。 标签: p3 + scope/docs(保留现有 pr) — 纯文档改动、无活跃缺陷(裁定是维持现状),故 p3 + scope/docs。 CI: 绿 — 84 个 check:57 success + 27 skipped(docs-only 变更,e2e 套件按 path-filter 跳过)+ 0 failed。 核对结论(拉了分支
顺手修了一处(独立 commit 既有观察(非本 PR 引入,不在此修):ZH technical notes 缺 6 个 EN 节(#1954、#4516、#2202、#4331、#4762、#4820)——ZH 是长期部分翻译的既有状态;本 PR 的 ZH 新节忠实翻译了 EN(含 above 引用),只是 ZH 缺节让引用悬空,已顺手修掉。 八问(中文,供人工 reviewer):
收工判定: 可合。 文档准确、放置合理、CI 绿;顺手修了 ZH 一处悬空引用(commit |
这是啥
GPT-6.2 起,OpenAI Responses API 在对话前部被修改后会作废模型自己的推理记录——之后模型只能凭摘要和可见消息重新想。bili 的压缩折叠(以及 #651 的推理裁剪)对上游来说就是这种前部修改,所以 gpt-6.2+ 的 responses 会话里,每次折叠后模型要重推早先的思考。
怎么处理的
按 #7144 的裁定:维持现状,不写新代码,只补文档记录。在 technical notes(英文 + 中文)加了「GPT-6.2 drops reasoning after prefix edits」一节,写清四件事:
compress.preserveRecentMessages: 0(初始版本姿态)就是更狠的既有合法配置,6.2 最坏情况在它的设计包络内。compress.reasoning.drop: false)、委托官方 /responses/compact(唯一无损,但与服务端无状态重放设计 [Bug][Responses HTTP] 删除 previous_response_id 时未重建增量请求历史,导致上下文静默丢失 #1954 矛盾,属另立特性)。纯文档改动,2 个文件,+57 行,不碰代码。