mirror of
https://github.com/Alishahryar1/free-claude-code.git
synced 2026-04-28 03:20:01 +00:00
Update README
Removed duplicate VSCode Extension Setup instructions from README.md.
This commit is contained in:
parent
35a2760f6e
commit
25b329a3fc
1 changed files with 21 additions and 21 deletions
42
README.md
42
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.
|
||||
|
||||
<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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue