Pārlūkot izejas kodu

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

tags/0.6.12
crazywoola pirms 1 gada
vecāks
revīzija
91d38a535f
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam

+ 2
- 2
api/core/model_runtime/model_providers/tongyi/llm/qwen-plus-chat.yaml Parādīt failu

- name: max_tokens - name: max_tokens
use_template: max_tokens use_template: max_tokens
type: int type: int
default: 1500
default: 2000
min: 1 min: 1
max: 1500
max: 2000
help: help:
zh_Hans: 用于指定模型在生成内容时token的最大数量,它定义了生成的上限,但不保证每次都会生成到这个数量。 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. 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 Parādīt failu

- name: max_tokens - name: max_tokens
use_template: max_tokens use_template: max_tokens
type: int type: int
default: 1500
default: 2000
min: 1 min: 1
max: 1500
max: 2000
help: help:
zh_Hans: 用于指定模型在生成内容时token的最大数量,它定义了生成的上限,但不保证每次都会生成到这个数量。 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. 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.

Notiek ielāde…
Atcelt
Saglabāt