forked from phoenix/litellm-mirror
update comments
This commit is contained in:
parent
a4e24761a0
commit
12d7ea914a
1 changed files with 1 additions and 1 deletions
|
@ -4555,7 +4555,7 @@ def get_optional_params(
|
||||||
supported_params = ["max_tokens", "temperature", "stop", "top_p", "stream"]
|
supported_params = ["max_tokens", "temperature", "stop", "top_p", "stream"]
|
||||||
_check_valid_arg(supported_params=supported_params)
|
_check_valid_arg(supported_params=supported_params)
|
||||||
# mistral params on bedrock
|
# mistral params on bedrock
|
||||||
# \"max_tokens_to_sample\":300,\"temperature\":0.5,\"top_p\":1,\"stop_sequences\":[\"\\\\n\\\\nHuman:\"]}"
|
# \"max_tokens\":400,\"temperature\":0.7,\"top_p\":0.7,\"stop\":[\"\\\\n\\\\nHuman:\"]}"
|
||||||
if max_tokens is not None:
|
if max_tokens is not None:
|
||||||
optional_params["max_tokens"] = max_tokens
|
optional_params["max_tokens"] = max_tokens
|
||||||
if temperature is not None:
|
if temperature is not None:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue