mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
fix test_filter_invalid_params_pre_call_check
This commit is contained in:
parent
bc399029d8
commit
7d2c76f640
1 changed files with 1 additions and 1 deletions
|
@ -3345,7 +3345,7 @@ class Router:
|
|||
special_params = ["response_object"]
|
||||
# check if all params are supported
|
||||
for k, v in non_default_params.items():
|
||||
if k not in supported_openai_params and k in special_params:
|
||||
if k not in supported_openai_params:
|
||||
# if not -> invalid model
|
||||
verbose_router_logger.debug(
|
||||
f"INVALID MODEL INDEX @ REQUEST KWARG FILTERING, k={k}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue