<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Codex on 冯威的博客</title><link>https://fwhyy.com/tags/codex/</link><description>Recent content in Codex on 冯威的博客</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Mon, 17 Aug 2026 08:13:00 +0000</lastBuildDate><atom:link href="https://fwhyy.com/tags/codex/atom.xml" rel="self" type="application/rss+xml"/><item><title>Codex 设置上下文为 1M</title><link>https://fwhyy.com/2026/08/code-context-1m/</link><pubDate>Mon, 17 Aug 2026 08:13:00 +0000</pubDate><guid>https://fwhyy.com/2026/08/code-context-1m/</guid><description>&lt;p&gt;Tibo 在推上分享了 Codex 开启 1 M 上下文的方法。&lt;/p&gt;
&lt;p&gt;操作很简单，修改全局的配置文件： ~/.codex/config.toml ，添加&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;model = &amp;#34;gpt-5.6-sol&amp;#34; 
model_context_window = 1000000 
model_auto_compact_token_limit = 900000 
&lt;/code&gt;&lt;/pre&gt;</description></item></channel></rss>