Kaynağa Gözat

fix: correct gpt-4o-mini max token (#6472)

Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
sino 9 ay önce
ebeveyn
işleme
4f9f175f25

+ 1 - 1
api/core/model_runtime/model_providers/openai/llm/gpt-4o-mini-2024-07-18.yaml

@@ -24,7 +24,7 @@ parameter_rules:
     use_template: max_tokens
     default: 512
     min: 1
-    max: 4096
+    max: 16384
   - name: response_format
     label:
       zh_Hans: 回复格式

+ 1 - 1
api/core/model_runtime/model_providers/openai/llm/gpt-4o-mini.yaml

@@ -24,7 +24,7 @@ parameter_rules:
     use_template: max_tokens
     default: 512
     min: 1
-    max: 4096
+    max: 16384
   - name: response_format
     label:
       zh_Hans: 回复格式

+ 1 - 1
api/core/model_runtime/model_providers/openrouter/llm/gpt-4o-mini.yaml

@@ -23,7 +23,7 @@ parameter_rules:
     use_template: max_tokens
     default: 512
     min: 1
-    max: 4096
+    max: 16384
   - name: response_format
     label:
       zh_Hans: 回复格式