fix: update the max tokens configuration for Azure GPT-4o (2024-08-06) to 16384 (#11074)

This commit is contained in:
fengjiajie 2024-11-25 21:13:02 +08:00 committed by GitHub
parent 8aae235a71
commit ab6dcf7032
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -779,7 +779,7 @@ LLM_BASE_MODELS = [
name="frequency_penalty",
**PARAMETER_RULE_TEMPLATE[DefaultParameterName.FREQUENCY_PENALTY],
),
_get_max_tokens(default=512, min_val=1, max_val=4096),
_get_max_tokens(default=512, min_val=1, max_val=16384),
ParameterRule(
name="seed",
label=I18nObject(zh_Hans="种子", en_US="Seed"),