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]

style(router): drop the inline comment on the batch retrieve stamp

mateo-berriad2afe5e6568
diff --git a/litellm/router.py b/litellm/router.py
index 9dd267d7560..2397c6b2fc7 100644
--- a/litellm/router.py
+++ b/litellm/router.py
@@ -6176,7 +6176,6 @@ class Router:
kwargs=new_kwargs,
function_name="aretrieve_batch",
)
- # Batch token usage is logged on this retrieve call, not on create.
model_group: Final = requested_model_group or model_name["model_name"]
new_kwargs[metadata_variable_name].setdefault("model_group", model_group)
new_kwargs.pop("custom_llm_provider", None)