The proxy shows no requests at all - Claude Code
Quick fix
A known cc-switch bug: when an upstream such as Nvidia returns no usage data, the openai_chat path drops the log outright. No official fix yet.
Symptom
Section titled “Symptom”代理显示没有任何请求The proxy shows no requests at all
When the cc-switch local proxy forwards Claude requests to Nvidia (https://integrate.api.nvidia.com/v1, for example) using the openai_chat format, Nvidia upstream returns no parsable usage data, so the cc-switch conversion path drops the request outright and proxy_request_logs and the statistics page record nothing at all. By comparison, the anthropic format at least keeps a record with token=0. Some users also report tasks not running to completion, which was confirmed as a problem with the model itself — cc-switch is only a configuration tool.
Confirm the problem: this is a known bug in the cc-switch usage module with no official fix yet.
Change the API format: if upstream supports it, try changing the configured apiFormat from openai_chat to anthropic, so the database keeps a 200 + token=0 request record even when usage parsing fails.
Alternative: if tasks will not run to completion, try another proxy tool such as antigravity tools or freecc.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 3 real issues
- Why does the proxy show no requests when requests definitely went out?
- Because the Nvidia openai_chat endpoint returns no usage data, which triggers the cc-switch bug and drops the whole request log.
- Tasks will not run to completion after configuring Nvidia and need repeated prompting. Is that cc-switch?
- No — that is a problem with the model itself. cc-switch is only a configuration tool.
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.