Skip to content

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.

Error output
要求codex生成任意图片,发现对话直接终止,没有报错
English translation

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.

  1. Upgrade cc-switch from the reported 3.16.1 to v3.16.3 or the latest version, then retry image generation.

  2. If it still recurs after upgrading, comment on the original issue with the provider and model information, as the maintainer advised, for further troubleshooting.

ToolCodex
Version3.16.1(受影响;v3.16.3 修复)
PlatformsWindows
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.

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.