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]

fixing mypy linting

yuneng-jiang3075b0e5a254
diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.py
index d168290e8a1..8ae07121177 100644
--- a/litellm/proxy/proxy_server.py
+++ b/litellm/proxy/proxy_server.py
@@ -7646,7 +7646,7 @@ async def model_info_v2(
# fill in model info based on config.yaml and litellm model_prices_and_context_window.json
for i, _model in enumerate(all_models):
all_models[i] = _enrich_model_info_with_litellm_data(
- model=_model, debug=debug, llm_router=llm_router
+ model=_model, debug=debug if debug is not None else False, llm_router=llm_router
)
verbose_proxy_logger.debug("all_models: %s", all_models)