(feat) - add claude 3

This commit is contained in:
ishaan-jaff 2024-03-04 07:13:08 -08:00
parent b283588eb8
commit 19eb9063fb
4 changed files with 32 additions and 19 deletions

View file

@ -4200,7 +4200,7 @@ def get_optional_params(
if top_p is not None:
optional_params["top_p"] = top_p
if max_tokens is not None:
optional_params["max_tokens_to_sample"] = max_tokens
optional_params["max_tokens"] = max_tokens
elif custom_llm_provider == "cohere":
## check if unsupported param passed in
supported_params = [