mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
Fix incorrect environment variable names in LiteLLM gateway documentation (#12686)
Updated ANTHROPIC_API_KEY to ANTHROPIC_AUTH_TOKEN to match the official documentation requirements for LiteLLM gateway configuration.
This commit is contained in:
parent
3a0ea80c75
commit
77191c7b2a
1 changed files with 2 additions and 2 deletions
|
|
@ -83,7 +83,7 @@ Setup Claude Code to use your LiteLLM proxy:
|
|||
|
||||
```bash
|
||||
export ANTHROPIC_BASE_URL="http://0.0.0.0:4000"
|
||||
export ANTHROPIC_API_KEY="$LITELLM_MASTER_KEY"
|
||||
export ANTHROPIC_AUTH_TOKEN="$LITELLM_MASTER_KEY"
|
||||
```
|
||||
|
||||
### 5. Use Claude Code
|
||||
|
|
@ -108,7 +108,7 @@ Common issues and solutions:
|
|||
**Claude Code not connecting:**
|
||||
- Verify your proxy is running: `curl http://0.0.0.0:4000/health`
|
||||
- Check that `ANTHROPIC_BASE_URL` is set correctly
|
||||
- Ensure your `ANTHROPIC_API_KEY` matches your LiteLLM master key
|
||||
- Ensure your `ANTHROPIC_AUTH_TOKEN` matches your LiteLLM master key
|
||||
|
||||
**Authentication errors:**
|
||||
- Verify your environment variables are set: `echo $LITELLM_MASTER_KEY`
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue