MRGOD1994

Results comments of MRGOD1994

我也是经常遇到,不知道是哪里的问题

问题定位了,codex的问题,内部强制了上下文最大是27200 codex cli执行: codex debug models --bundled | jq '.models[] | select(.slug=="gpt-5.5") | {slug, context_window, max_context_window}' codex app执行: /Applications/Codex.app/Contents/Resources/codex debug models --bundled | jq '.models[] | select(.slug=="gpt-5.5" or .slug=="gpt-5.4") |...

实测上述方案无效。上游还是会打回。大家还是把config.toml中配置改小一点,这样还能压缩一下

> > 实测上述方案无效。上游还是会打回。大家还是把config.toml中改配置小一点,这样还能压缩一下 > > 有效的,你还需要在~/.codex/config.toml加上model_catalog_json = "/Users/YOUR_NAME/.codex/model_catalog_gpt55_1m.json" 我配置了,虽然窗口context会变成1M, 但是如果你一直运行, 超过272KB,上游会打回的。

> > > > 实测上述方案无效。上游还是会打回。大家还是把config.toml中改配置小一点,这样还能压缩一下 > > > > > > > > > 有效的,你还需要在~/.codex/config.toml加上model_catalog_json = "/Users/YOUR_NAME/.codex/model_catalog_gpt55_1m.json" > > > > > > 我配置了,虽然窗口context会变成1M, 但是如果你一直运行, 超过272KB,上游会打回的。 > > 你开了fast吗 没开。这个有什么影响吗

真开心, 功能上线了