Skip to content

Claude Provider Not Found, Unable to Take Over Live Configuration: Claude Code

Quick fix

Upgrade to v4.0 or later; routing logic has been rewritten. Claude Desktop uses model mapping mode, with no manual changes to settings.json needed.

Error output
Claude 供应商不存在,无法接管Live配置
English translation

Claude provider not found; unable to take over Live configuration

This issue was reported in CC Switch 3.16.5. The maintainer explained that v4.0 rewrote the routing logic: when routing starts, it writes the local address and placeholder credentials directly to the client configuration; when routing ends, it writes back the configuration for the selected provider. It no longer backs up and restores the entire configuration, so the issue where settings.json was reset when CC Switch was closed or restarted should no longer occur. The maintainer also explained that the “Unable to take over Live configuration” notice is no longer part of the same logic in newer versions.

The maintainer noted that Claude Desktop and Claude Code are managed separately: Claude Desktop uses model mapping mode and does not require manual changes to settings.json. The issue report selected Claude Code, but the user mentioned Claude Desktop, so the application details are ambiguous. If the issue still occurs on the latest version, provide the application actually in use, the CC Switch version, and the exact notice.

  1. Upgrade to v4.0 or later, then try routing again.

  2. Confirm whether you are using Claude Code or Claude Desktop. If you are using Claude Desktop, use model mapping mode; no manual changes to settings.json are needed.

  3. If the issue still occurs, report the application actually in use, the CC Switch version, and the exact notice.

ToolClaude Code
Version3.16.5(问题报告版本;维护者建议 v4.0 或更新版本重试)
PlatformsWindows
What should I do if settings.json is reset after closing or restarting CC Switch?
The maintainer says that after the routing logic was rewritten in v4.0, routing starts by writing the local address and placeholder credentials directly, and ends by writing back the configuration for the selected provider. It no longer backs up and restores the entire configuration. Upgrade and try again.
Does Claude Desktop require manually adding configuration to settings.json?
The maintainer says Claude Desktop uses model mapping mode and does not require manual changes to settings.json.
What information should I provide if the issue persists after upgrading?
Specify whether you are using Claude Code or Claude Desktop, the CC Switch version, and the exact notice.

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.