Browse Source

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

tags/0.12.1
fengjiajie 11 months ago
parent
commit
ab6dcf7032
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      api/core/model_runtime/model_providers/azure_openai/_constant.py

+ 1
- 1
api/core/model_runtime/model_providers/azure_openai/_constant.py 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"),

Loading…
Cancel
Save