社区讨论LinuxDo 最新
Codex的新上下文管理方法需要ChatGPT登录+Plus/Pro套餐
听说了codex增加了新上下文管理方法,不需要压缩上下文,改成新建窗口了: 直接开启全新窗口继续工作——模型可主动申请换窗,手动 / 自动清理也统一走新窗口流程,在这一新方案下不再生成摘要。同时配套历史记录与笔记能力,换窗后模型可按需找回此前内容、延续工作状态,避免任务中断。 不过检查了源码,不是简单地设置features.context management.experimental mode = true就行的,另外还需要设置features.token budget.enabled = true,并且必须C…
内容摘要
作者:#ishadows
板块:#开发调优
听说了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
-16
Add experimental context management activation
## What changed
- Add the under…-development `features.context_management.experimental_mode` configuration and schema.
- For eligible ChatGPT Plus, Pro, and Pro Lite sessions using the Codex backend, enable token-budget context, history notes, and the `new_context` tool 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源码的情况下强开?
资讯来源
LinuxDo