From 42bf05df47c32f430027cf49aa69207af2eee707 Mon Sep 17 00:00:00 2001 From: Chummy Date: Wed, 18 Feb 2026 15:02:32 +0800 Subject: [PATCH] docs: clarify custom provider env vars and URL scheme --- docs/custom-providers.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/custom-providers.md b/docs/custom-providers.md index c0a8809..9f43a77 100644 --- a/docs/custom-providers.md +++ b/docs/custom-providers.md @@ -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