mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
(feat) support user param for all providers
This commit is contained in:
parent
ddd9ca86a7
commit
697c511e76
1 changed files with 2 additions and 0 deletions
|
@ -3305,6 +3305,8 @@ def get_optional_params(
|
|||
unsupported_params = {}
|
||||
for k in non_default_params.keys():
|
||||
if k not in supported_params:
|
||||
if k == "user":
|
||||
continue
|
||||
if k == "n" and n == 1: # langchain sends n=1 as a default value
|
||||
continue # skip this param
|
||||
if (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue