gpt账号被封麻了,转头使用中转站,发现坑真的不少,开发软件的时间都折腾到这里了,很多也不能完美解决。
所以抛砖引玉,来讨论下,看各位佬遇到的还有哪些坑和解决方案
大坑1.远程压缩问题
使用中转站,默认情况下,上下文满的时候会使用本地压缩,而不是codex服务器进行远程压缩上下文,压缩效果变差会降智。
我尝试的解决方法:
1,打开ccs的启用远程压缩
2.把config.toml中的名称改为OpenAI,示例如下:
[model_providers.custom]
name = “OpenAI”
大坑2.gpt 5.6无法使用内置搜索
gpt5.6改了内置搜索方式,很多中转站都没有进行升级支持,导致无法使用内置搜索,用的瘸腿GPT,获取信息能力受限,你可以试下问codex “你试下内置搜索接口能用吗” ,他会告诉你能不能用,报错是: Invalid URL (POST /v1/alpha/search)
我尝试的解决方法:
1.换个中转站,目前我试的3个都不行
2.装这个补丁skills,比如 GitHub - WangChuDi/codex-enable-web-search-catalog: Codex skill that disables Responses Lite model mapping to restore hosted Web Search through OpenAI-compatible gateways. · GitHub
3.换第三方搜索skills,缺点是每次搜索会先试一次内置搜索,消耗token,且兼容性不如官方 比如 GitHub - anysearch-ai/anysearch-skill: Unified real-time search engine skill for AI agents. · GitHub
大坑3。 无法调用image2生图
正常账号登录,可以直接生成图片,做PPT和各种设计图都很方便,但是使用中转站,不能使用内置生图。做设计和图表能力受限
我尝试的解决方法:第三方skills,需要配置有这个模型的中转站端点1.GitHub - fengfengzhidao/codex-image2-skill: 用于在codex里面生图的skill · GitHub
2.GitHub - aEboli/image2-codex-skill: This skill is designed to enable the normal use of the "image2" function in Codex, such as customizing the ratio and resolution. Even if "imagegen" frequently reports errors, using this skill will still allow normal operation. However, it is not an alternative option; rather, it is a breakthrough capability that can be used more effectively. · GitHub