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]

fix: fix linting error

Krrish Dholakia790e0630444d
diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.py
index eed0263c51f..dc353bb2def 100644
--- a/litellm/proxy/proxy_server.py
+++ b/litellm/proxy/proxy_server.py
@@ -6182,8 +6182,8 @@ async def model_info_v1( # noqa: PLR0915
else:
all_models = []
- for model in all_models:
- model = _get_proxy_model_info(model=model)
+ for in_place_model in all_models:
+ in_place_model = _get_proxy_model_info(model=in_place_model)
verbose_proxy_logger.debug("all_models: %s", all_models)
return {"data": all_models}