个人在使用codex路由到claude code中使用时,遇到了获取模型得不到GPT-6-sol的模型,已经手动填模型名会导致报错的问题,如下:
API Error: 400 {"detail":"The 'gpt-6-sol' model is not supported when using Codex with a ChatGPT account."}
临时解决方案可以在CC Switch codex设置中的本地代理请求覆盖中的Header 覆盖,填入以下Json内容:```{ "version": "0.155.0"}``然后在模型映射中手动填入gpt-6-sol`即可使用。
本地代理请求覆盖
Header 覆盖
然后在模型映射中手动填入
有用!!!谢谢佬~ 感谢。
赞了,有用,gpt-6-luna同理。