mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
The Jina key fallback chain read JINA_AI_API_KEY three times in a row before falling through to JINA_AI_TOKEN, so two of the four slots were dead. Jina's own documentation publishes JINA_API_KEY, and litellm's rerank validate_environment already tells users to set that name, but nothing ever read it: a user who set only JINA_API_KEY got no key resolved and Jina answered AUTH_MISSING_API_KEY. Replace one of the repeats with JINA_API_KEY and drop the other. JINA_AI_API_KEY stays first so no install that resolves a key today changes which key it picks. |
||
|---|---|---|
| .. | ||
| test_jina_embedding_transformation.py | ||