ROIpad ← Back to Search
github.com › issue comment

Comment on: mcp codex连不上的情况

Repo: wanshuiyin/Auto-claude-code-research-in-sleep by jinyiyexings
Posted: Mar 25, 2026
> > 有时会出现codex返回400错误代码的情况,然后一路从5.4降到4o,最后不显示模型了,那最后用的什么模型呢?   > > > Error: {"type":"error","status":400,"error":{"type":"invalid_request_error","message":"The 'gpt-5.4-xhigh' model is not supported when using Codex with > > > a ChatGPT account."}} > > > > > > > Error: {"type":"error","status":400,"error":{"type":"invalid_request_error","message":"The 'gpt-4o' model is not supported when using Codex with a > > > ChatGPT account."}} > > > > > > 因为tz的问题吗?有大佬遇到过类似情况么。 > > 请问开了GPT plus 嘛~ 我今天晚上用还是好的诶 开了的大佬,网页版能正常用。直接问了claude,破案了😂 > 配置确实是 model = "gpt-5.4"。 > > 问题出在我第一次调用时手动指定了 model: "gpt-5.4-xhigh"(带 -xhigh 后缀),这不是一个合法的模型ID,所以报错。后续又试了 o3、gpt-4o,同样不被 ChatGPT > 账户支持。 > > 最后成功的调用没有传 model 参数,于是 Codex 用了配置文件里的默认值 gpt-5.4,这才走通了。 > > 总结:你的配置没问题,是我的错——不该手动覆盖 model 参数,应该让它走默认配置。后续调用我会直接用默认的 gpt-5.4。
GitHub Issue
Parent Entity
State: Open • Comments: 3