mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-17 23:51:30 +00:00
Per-user env-vars are templated static headers (resolved alongside auth via the static-headers path), not an api_key credential mode; the PerUserEnvVar key_source was unreachable (no server config maps to it) and contradicted that model. ApiKeySource is now SharedKey | Byok and the api_key arm matches the two real sources. Static/env-var header resolution reuses v1's _resolve_static_headers_with_env_vars at the v2 manager (step 6); the clean v2 rewrite lands at v1 retirement alongside the caching model. |
||
|---|---|---|
| .. | ||
| test_resolver.py | ||