docs: clarify custom provider env vars and URL scheme

This commit is contained in:
Chummy 2026-02-18 15:02:32 +08:00
parent f13553014b
commit 42bf05df47

View file

@ -38,8 +38,11 @@ default_model = "claude-sonnet-4"
### Environment Variables
For `custom:` and `anthropic-custom:` providers, use the generic key env vars:
```bash
export ANTHROPIC_API_KEY="your-api-key"
export API_KEY="your-api-key"
# or: export ZEROCLAW_API_KEY="your-api-key"
zeroclaw agent
```
@ -60,7 +63,7 @@ zeroclaw agent -m "test message"
### Authentication Errors
- Verify API key is correct
- Check endpoint URL format (must include `https://`)
- Check endpoint URL format (must include `http://` or `https://`)
- Ensure endpoint is accessible from your network
### Model Not Found