This commit is contained in:
Ishaan Jaffer 2026-01-29 17:56:20 -08:00
parent 3e8026625e
commit ecc805622b

View file

@ -51,6 +51,11 @@ litellm --config config.yaml
### 3. Point Agent SDK to LiteLLM
| Environment Variable | Value | Description |
|---------------------|-------|-------------|
| `ANTHROPIC_BASE_URL` | `http://localhost:4000` | LiteLLM proxy URL |
| `ANTHROPIC_API_KEY` | `sk-1234` | Your LiteLLM API key (not Anthropic key) |
```python title="agent.py" showLineNumbers
import os
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions