OpenAI Chat Completions model not working, Claude Code
Quick fix
Retry after upgrading to 4.0. If the issue persists, provide the provider API format, local routing status, and relevant logs.
Symptom
Section titled “Symptom”这个如何调整为chat模型呢?感觉是流式模式,cc中配置的好像不起作用How can I adjust this to use a chat model? It seems to be in streaming mode, and the configuration in cc appears not to take effect.
This report is from cc-switch v3.19.1 and includes only a screenshot, with no specific error or logs sufficient to confirm the cause. The maintainer said that 4.0 rewrote local routing and Claude Code configuration writing, and fixed several format conversion issues, including OpenAI Chat Completions. The available information therefore cannot determine whether the issue is in the configuration or protocol conversion.
If the issue still reproduces after upgrading to 4.0, the maintainer recommends providing the cc-switch version, the API format selected for the provider, whether local routing is enabled, and logs from the relevant time.
Retry after upgrading to 4.0; the latest download URL provided by the maintainer is https://github.com/farion1231/cc-switch/releases/latest.
If it still does not work, submit the cc-switch version, the API format selected for the provider, whether local routing is enabled, and logs from the relevant time in ~/.cc-switch/logs/cc-switch.log.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 1 real issues
- How do I switch this to a chat model?
- The report does not provide a specific error or enough information to confirm the cause. The maintainer recommends upgrading to 4.0 and retrying; if the issue persists, provide the provider API format, local routing status, and relevant logs.
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.