Primary source宝玉
View sourceEvent ·Multi-source
Codex 开启 1M 上下文:修改 config.toml 即可
Tibo 分享了在 Codex 中为 GPT-5.6 Sol 开启 1M token 上下文窗口的方法。只需在 ~/.codex/config.toml 中设置 model_context_window 为 1000000,并将自动压缩阈值设为 900000。也可以通过命令行参数为单次会话启用。OpenAI 表示默认设置已针对性能和成本调优,但此配置可满足更长上下文需求。
Current read
Tibo 教你在 Codex 里改两行配置就能让 GPT-5.6 Sol 记住 100 万 token,嫌默认不够用可以试试。
10 sources47° AI heatLast updated 2026/8/16 20:59:46
Evidence
10 sourcesRelated source 1小互
View sourceRelated source 2IT之家
View sourceRelated source 3NVIDIA AI
View sourceRelated source 4Gary Marcus
View sourceRelated source 5Simon Willison’s Weblog
View sourceRelated source 6OpenAI Blog
View sourceRelated source 7Lenny Rachitsky
View sourceRelated source 8@OpenAIDevs
View sourceRelated source 9arXiv: OpenAI
View sourceConflict check
Dedup data only shows that these sources discuss the same event, not that they agree. There is no structured supporting or refuting evidence yet, so no conflict is inferred automatically.