Browse Source

fix: max_tokens of qwen-plus & qwen-plus-chat (#5480)

tags/0.6.12
crazywoola 1 year ago
parent
commit
91d38a535f
No account linked to committer's email address

+ 2
- 2
api/core/model_runtime/model_providers/tongyi/llm/qwen-plus-chat.yaml View File

@@ -22,9 +22,9 @@ parameter_rules:
- name: max_tokens
use_template: max_tokens
type: int
default: 1500
default: 2000
min: 1
max: 1500
max: 2000
help:
zh_Hans: 用于指定模型在生成内容时token的最大数量,它定义了生成的上限,但不保证每次都会生成到这个数量。
en_US: It is used to specify the maximum number of tokens when the model generates content. It defines the upper limit of generation, but does not guarantee that this number will be generated every time.

+ 2
- 2
api/core/model_runtime/model_providers/tongyi/llm/qwen-plus.yaml View File

@@ -20,9 +20,9 @@ parameter_rules:
- name: max_tokens
use_template: max_tokens
type: int
default: 1500
default: 2000
min: 1
max: 1500
max: 2000
help:
zh_Hans: 用于指定模型在生成内容时token的最大数量,它定义了生成的上限,但不保证每次都会生成到这个数量。
en_US: It is used to specify the maximum number of tokens when the model generates content. It defines the upper limit of generation, but does not guarantee that this number will be generated every time.

Loading…
Cancel
Save