浏览代码

Correct max_tokens for OpenRouter Sonnet 3.5 (#9068)

Infinitnet 6 月之前
父节点
当前提交
e741ee2f45
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      api/core/model_runtime/model_providers/openrouter/llm/claude-3-5-sonnet.yaml

+ 2 - 2
api/core/model_runtime/model_providers/openrouter/llm/claude-3-5-sonnet.yaml

@@ -27,9 +27,9 @@ parameter_rules:
   - name: max_tokens
   - name: max_tokens
     use_template: max_tokens
     use_template: max_tokens
     required: true
     required: true
-    default: 4096
+    default: 8192
     min: 1
     min: 1
-    max: 4096
+    max: 8192
   - name: response_format
   - name: response_format
     use_template: response_format
     use_template: response_format
 pricing:
 pricing: