Sam (@Sam234) 在 关于临时用CC Switch 路由Codex GPT-6-sol 到 Claude code的解决方案 中发帖
个人在使用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即可使用。