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]

chore: merge main into fix/batch-retrieve-model-group

mateo-berri952cafea7d26
diff --cc litellm/proxy/batches_endpoints/endpoints.py
index 403669d7f97,0e348fa6e06..dbbbbd6f7cd
--- a/litellm/proxy/batches_endpoints/endpoints.py
+++ b/litellm/proxy/batches_endpoints/endpoints.py
@@@ -574,7 -581,7 +591,8 @@@ async def retrieve_batch
# so litellm.aretrieve_batch can load BedrockBatchesConfig. Without
# it the call falls into the legacy provider switch and 400s.
data["model"] = model_from_id
+ add_deployment_model_info(data=data, llm_router=llm_router, model_id=model_from_id)
+ _litellm_metadata_of(data).setdefault("model_group", model_from_id)
# Retrieve batch using model credentials
response = await litellm.aretrieve_batch(