fix(provider): surface actionable custom-provider failure diagnostics

This commit is contained in:
Chummy 2026-02-18 21:46:14 +08:00
parent 63364a4bfe
commit 58acf1efd3
3 changed files with 218 additions and 38 deletions

View file

@ -70,6 +70,15 @@ zeroclaw agent -m "test message"
- Confirm model name matches provider's available models
- Check provider documentation for exact model identifiers
- Ensure endpoint and model family match. Some custom gateways only expose a subset of models.
- Verify available models from the same endpoint and key you configured:
```bash
curl -sS https://your-api.com/models \
-H "Authorization: Bearer $API_KEY"
```
- If the gateway does not implement `/models`, send a minimal chat request and inspect the provider's returned model error text.
### Connection Issues