Fix model getting twice
This commit is contained in:
parent
e83f08c24d
commit
8ffffb4d15
@ -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…
Reference in New Issue
Block a user