Fix model getting twice

This commit is contained in:
Sameer Kankute 2025-12-16 15:43:55 +05:30
parent e83f08c24d
commit 8ffffb4d15

View file

@ -573,6 +573,7 @@ async def list_batches(
if target_model_names is None:
raise ValueError("target_model_names is required for this routing scenario")
model = target_model_names.split(",")[0]
data.pop("model", None)
response = await llm_router.alist_batches(
model=model,
after=after,