DT_Stone 在 解决 codex 会话发送新消息提示超限:Your input exceeds the context window of this model. Please adjust your input and try again. 中发帖
背景:codex + gpt-5.5
发送新消息提示
Your input exceeds the context window of this model. Please adjust your input and try again.
执行 compact 依然提示上下文超限
由于当前会话是supervisor角色。不想通过新建会话和丢弃会话。
查看配置并没有设置上下文限制
[image]
调整 上下文窗口 也无法解决
model_context_window = 1000000
解决方案。
切换模型并设置上下文大小
model = "gpt-5.4 [1m]"
重启codex compact 解决
[image]