mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-21 00:21:49 +00:00
Python resolves the Mistral key as api_key, MISTRAL_AZURE_API_KEY, then MISTRAL_API_KEY, and the base as api_base, MISTRAL_AZURE_API_BASE, then the public endpoint, never reading MISTRAL_API_BASE. Native OCR read MISTRAL_API_KEY and MISTRAL_API_BASE instead, so with the Azure pair set it sent the call to a different endpoint with a different key. Empty env values now fall through like Python's `or` chain. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| AGENTS.md | ||
| Cargo.toml | ||