- ishadows2026-09-0523428
听说了codex增加了新上下文管理方法,不需要压缩上下文,改成新建窗口了:
直接开启全新窗口继续工作——模型可主动申请换窗,手动 / 自动清理也统一走新窗口流程,在这一新方案下不再生成摘要。同时配套历史记录与笔记能力,换窗后模型可按需找回此前内容、延续工作状态,避免任务中断。
不过检查了源码,不是简单地设置
features.context_management.experimental_mode = true就行的,另外还需要设置features.token_budget.enabled = true,并且必须Chatgpt账号登录+有plus和pro 5x/20x套餐github.com/openai/codex
Add experimental context management activation (#42385)
main←copyberry/codex-internal-to-codex-oss/19402af19c4d69e09a7cdb3687ee7d233f6a562a已合并 11:40PM - 02 Sep 26 UTC

copyberry[bot]
+236
-16Add experimental context management activation
What changed
- Add the under…-development
features.context_management.experimental_modeconfiguration and schema. - For eligible ChatGPT Plus, Pro, and Pro Lite sessions using the Codex backend, enable token-budget context, history notes, and the
new_contexttool when experimental context management is configured. - Keep the feature disabled for custom providers, provider credentials, non-Codex endpoints, and temporary structured threads.
Testing
- Cover subscription eligibility, backend restrictions, configuration resolution, token-budget guidance, and temporary-thread overrides.
看看有没有人能想出方法在不修改codex源码的情况下强开?
主楼 - Add the under…-development
- owwkmidream2026-09-0530961
mark了,今天也看见别人说这个功能
- Aaalice2026-09-0521490
我说怎么开了没生效,原来还漏了个配置啊 ^-^
- gpt_jj2026-09-0520561
我也今天用Claude 查了一下,必须登录,并且这个不好绕过,他是实时打到gpt后端验证或压缩的,新的接口
- ishadows2026-09-0523428
那完蛋了,中转都没法用了
- gpt_jj2026-09-0520561
是的 按理说这个机制和openclaw当初的机制是类似的,可以本地实现,但是现在不行了,这个机制放在了云端