mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-17 02:23:32 +00:00
fix test_filter_invalid_params_pre_call_check
This commit is contained in:
+1
-1
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user