mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
Fix model getting twice
This commit is contained in:
parent
e83f08c24d
commit
8ffffb4d15
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue