mirror of
https://github.com/Alishahryar1/free-claude-code.git
synced 2026-07-03 14:05:26 +02:00
Update README
Removed duplicate VSCode Extension Setup instructions from README.md.
This commit is contained in:
@@ -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.
|
||||
|
||||
<details>
|
||||
<summary><b>VSCode Extension Setup</b></summary>
|
||||
|
||||
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.
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary><b>Multi-Model Support (Model Picker)</b></summary>
|
||||
|
||||
@@ -136,27 +157,6 @@ alias claude-kimi='ANTHROPIC_BASE_URL="http://localhost:8082" ANTHROPIC_AUTH_TOK
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary><b>VSCode Extension Setup</b></summary>
|
||||
|
||||
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.
|
||||
|
||||
</details>
|
||||
|
||||
---
|
||||
|
||||
## How It Works
|
||||
|
||||
Reference in New Issue
Block a user