mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
Python reads every provider credential fallback (MISTRAL_API_KEY, AZURE_AI_API_KEY, AZURE_DOCUMENT_INTELLIGENCE_ENDPOINT, Azure AD and Vertex env, ...) through get_secret_str, which consults the configured key_management_system before os.environ. Native OCR read std::env directly, so a key held only in the vault went missing and a stale env copy silently won. OcrClient now carries an injected secret Lookup that the connection exposes to providers and auth crates; the bridge backs it with settings.secret -> get_secret_str, pure Rust keeps the process env. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| ocr | ||
| azure_ai_ocr.rs | ||
| azure_document_intelligence_ocr.rs | ||
| cohere_ocr.rs | ||
| deepseek_ocr.rs | ||
| ocr.rs | ||
| reducto_ocr.rs | ||
| vertex_ai_deepseek_ocr.rs | ||
| vertex_ai_ocr.rs | ||