litellm/tests/mcp_tests/gateway
Tin Chi Lo 9256b5e620 refactor(mcp/v2): drop mis-modeled PerUserEnvVar api_key key_source
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.
2026-06-19 10:10:54 -07:00
..
test_resolver.py refactor(mcp/v2): drop mis-modeled PerUserEnvVar api_key key_source 2026-06-19 10:10:54 -07:00