(feat) support user param for all providers

This commit is contained in:
ishaan-jaff 2024-01-18 17:45:59 -08:00
parent ddd9ca86a7
commit 697c511e76

View file

@ -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 (