diff --git a/README.md b/README.md index 424a7f87..362a63c0 100644 --- a/README.md +++ b/README.md @@ -106,6 +106,27 @@ ANTHROPIC_AUTH_TOKEN="freecc" ANTHROPIC_BASE_URL="http://localhost:8082" claude That's it! Claude Code now uses your configured provider for free. +
+VSCode Extension Setup + +1. Start the proxy server (same as above). +2. Open Settings (`Ctrl + ,`) and search for `claude-code.environmentVariables`. +3. Click **Edit in settings.json** and add: + +```json +"claude-code.environmentVariables": [ + { "name": "ANTHROPIC_BASE_URL", "value": "http://localhost:8082" }, + { "name": "ANTHROPIC_AUTH_TOKEN", "value": "freecc" } +] +``` + +4. Reload extensions. +5. **If you see the login screen** ("How do you want to log in?"): Click **Anthropic Console**, then authorize. The extension will start working. You may be redirected to buy credits in the browser; ignore it, the extension already works. + +To switch back to Anthropic models, comment out the added block and reload extensions. + +
+
Multi-Model Support (Model Picker) @@ -136,27 +157,6 @@ alias claude-kimi='ANTHROPIC_BASE_URL="http://localhost:8082" ANTHROPIC_AUTH_TOK
-
-VSCode Extension Setup - -1. Start the proxy server (same as above). -2. Open Settings (`Ctrl + ,`) and search for `claude-code.environmentVariables`. -3. Click **Edit in settings.json** and add: - -```json -"claude-code.environmentVariables": [ - { "name": "ANTHROPIC_BASE_URL", "value": "http://localhost:8082" }, - { "name": "ANTHROPIC_AUTH_TOKEN", "value": "freecc" } -] -``` - -4. Reload extensions. -5. **If you see the login screen** ("How do you want to log in?"): Click **Anthropic Console**, then authorize. The extension will start working. You may be redirected to buy credits in the browser; ignore it, the extension already works. - -To switch back to Anthropic models, comment out the added block and reload extensions. - -
- --- ## How It Works