Conversation
This branch has not been deployed
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.
问题
本地代理此前会将 Responses 上游的
compaction_trigger请求改写为普通摘要请求,再自行包装压缩结果。这会阻断上游原生压缩协议。缺少
response.output_item.done时,Codex 会报告收到 0 个压缩输出项;即使补齐事件,将普通摘要放入encrypted_content也可能导致后续回放时出现解密失败。修改
compaction_trigger,直接透传原生压缩响应。X-Codex-Beta-Features,继续使用所选供应商的鉴权。encrypted_content和未知字段,支持压缩后的历史回放。/responses/compact请求保留原端点和请求体。cmp_ID 和无增量摘要处理,并正确传递上游失败。验证