Conversation terminates without error: Codex generates images with route proxy enabled
Quick fix
Upgrade cc-switch to v3.16.3 or the latest version to fix interrupted Codex image requests under local route mapping.
Symptom
Section titled “Symptom”要求codex生成任意图片,发现对话直接终止,没有报错Ask Codex to generate any image; the conversation terminates directly without an error.
This report occurred with local route mapping enabled: `/responses` requests were rewritten to `/chat/completions`. The maintainer explained that text-only Chat Completions upstreams cannot handle Codex requests containing images, so the conversation terminates directly; image generation works after disabling local route mapping.
The maintainer said this was fixed in v3.16.3 through the “Codex image rectifier (for text-only upstreams)” and noted that v3.16.2 had added related image fallback rectification.
Upgrade cc-switch from the reported 3.16.1 to v3.16.3 or the latest version, then retry image generation.
If it still recurs after upgrading, comment on the original issue with the provider and model information, as the maintainer advised, for further troubleshooting.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 1 real issues
- Are there any problems when using response directly without enabling the proxy?
- The two users in the report replied “no problems at all” or “no,” indicating that it works normally when local route mapping is not enabled.
Related problems
Section titled “Related problems”This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.