mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-21 00:21:49 +00:00
The OCR route called back into Python's get_secret_str for every env fallback. With no secret manager configured that is os.environ behind a GIL hop, and with one configured it blocked a tokio worker on vault I/O and also sent the Azure and GCP identity variables, which Python reads with os.getenv, to the vault. The other Rust routes already read the process environment. Read the process environment here too. When litellm would read secrets from a secret manager, decline the Rust route so the Python route serves the call with the vault-backed keys |
||
|---|---|---|
| .. | ||
| chat_completions | ||
| messages | ||
| ocr | ||
| responses | ||
| __init__.py | ||
| native_route_wheel_test.py | ||
| stubtest.ini | ||
| test_bindings.py | ||
| test_catalog.py | ||
| test_configuration.py | ||
| test_dispatch.py | ||
| test_failures.py | ||
| test_legacy_callbacks.py | ||
| test_lifecycle.py | ||
| test_runtime.py | ||
| test_settings.py | ||
| test_token_counter.py | ||
| test_verify_linux_native_wheel.py | ||