Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

Merge pull request #35807 from BerriAI/litellm_enforce_final_variables

Mateo Wang5159cba6b0e7
diff --cc litellm/proxy/proxy_server.py
index 289314f12a5,59c5af19593..3380decabf7
--- a/litellm/proxy/proxy_server.py
+++ b/litellm/proxy/proxy_server.py
@@@ -4412,10 -4400,8 +4413,10 @@@ class ProxyConfig
proxy_config_reload_interval_seconds, \
config_passthrough_endpoints
- config: dict = await self.get_config(config_file_path=config_file_path)
+ config: Final[dict] = await self.get_config(config_file_path=config_file_path)
+ self._warn_on_misplaced_jwt_keys(config=config)
+
self._load_environment_variables(config=config)
## Coordination Redis (before cache init, so the explicit block wins)