Unable to apply reverse proxy to Claude Code VS Code plugin
Quick fix
Enable “Apply to Claude Code plugin”; if the old provider is still active, check and remove the previous Zhipu relay settings in VS Code settings.json.
Symptom
Section titled “Symptom”然而即使我在设置里面勾选了 `应用到Claude Code插件`选项之后,仍然无法在claude code for VS Code 里面吃到反向代理antigravity的额度However, even after I checked the `应用到Claude Code插件` option in settings, the Antigravity reverse proxy quota still was not available in claude code for VS Code.
The Claude Code for VS Code plugin provider can switch with the CLI. The user in issue #706 later found that leftover Zhipu relay settings in VS Code `settings.json` prevented CC-Switch from switching providers; deleting those settings and reinstalling the plugin restored normal operation. The maintainer also suggested turning “Apply to Claude Code plugin” off and back on. Another user encountered `upstream_error`, and the request did not reach Antigravity Manager, but the discussion did not confirm that this had the same cause. The maintainer suggested checking the Antigravity Manager configuration and first verifying that Gemini CLI could connect normally. Issue #6072 is a separate Edge history issue and is outside this page’s scope.
Enable “Apply to Claude Code plugin” in CC-Switch so the VS Code plugin’s provider switches with the CLI.
If the plugin still uses the old provider, check VS Code `settings.json` and remove the previous Zhipu relay settings; the issue reporter resolved the problem by deleting them and reinstalling the Claude Code for VS Code plugin.
If switching still does not take effect, try turning “Apply to Claude Code plugin” off and back on.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 1 real issues
- How can the Claude for VS Code plugin use the CC-Switch proxy?
- Enable “Apply to Claude Code plugin” so the plugin provider switches with the CLI. If it still does not work, check and remove the previous Zhipu relay settings in VS Code `settings.json`.
- Why am I still using the Zhipu GLM quota after enabling the Claude Code plugin option?
- The reporter in issue #706 found that leftover Zhipu relay settings in VS Code `settings.json` prevented CC-Switch from switching providers. Removing those settings and reinstalling the plugin restored normal operation.
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.