Skip to content

Commit 062df98

Browse files
feat(longcat/model): add longcat-flash-thinking-2601 (#2453)
* feat(longcat/model): add longcat-flash-thinking-2601 * update version * update dify-plugin==0.7.1
1 parent f45e6de commit 062df98

File tree

3 files changed

+67
-2
lines changed

3 files changed

+67
-2
lines changed

models/longcat/manifest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ resource:
3434
tool:
3535
enabled: true
3636
type: plugin
37-
version: 0.0.2
37+
version: 0.0.3
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
model: longcat-flash-thinking-2601
2+
label:
3+
zh_Hans: longcat-flash-thinking-2601
4+
en_US: longcat-flash-thinking-2601
5+
model_type: llm
6+
features:
7+
- agent-thought
8+
model_properties:
9+
mode: chat
10+
context_size: 128000
11+
parameter_rules:
12+
- name: temperature
13+
use_template: temperature
14+
type: float
15+
default: 1
16+
min: 0.0
17+
max: 2.0
18+
help:
19+
zh_Hans: 控制生成结果的多样性和随机性。数值越小,越严谨;数值越大,越发散。
20+
en_US: Control the diversity and randomness of generated results. The smaller the value, the more rigorous it is; the larger the value, the more divergent it is.
21+
- name: max_tokens
22+
use_template: max_tokens
23+
type: int
24+
default: 4096
25+
min: 1
26+
max: 8000
27+
help:
28+
zh_Hans: 指定生成结果长度的上限。如果生成结果截断,可以调大该参数。
29+
en_US: Specifies the upper limit on the length of generated results. If the generated results are truncated, you can increase this parameter.
30+
- name: top_p
31+
use_template: top_p
32+
type: float
33+
default: 1
34+
min: 0.01
35+
max: 1.00
36+
help:
37+
zh_Hans: 控制生成结果的随机性。数值越小,随机性越弱;数值越大,随机性越强。一般而言,top_p 和 temperature 两个参数选择一个进行调整即可。
38+
en_US: Control the randomness of generated results. The smaller the value, the weaker the randomness; the larger the value, the stronger the randomness. Generally speaking, you can adjust one of the two parameters top_p and temperature.
39+
- name: enable_thinking
40+
required: false
41+
type: boolean
42+
default: true
43+
label:
44+
zh_Hans: 思考模式
45+
en_US: Thinking mode
46+
help:
47+
zh_Hans: 是否开启思考模式。
48+
en_US: Whether to enable thinking mode.
49+
- name: thinking_budget
50+
required: false
51+
type: int
52+
default: 1024
53+
min: 1024
54+
max: 8192
55+
label:
56+
zh_Hans: 思考长度限制
57+
en_US: Thinking budget
58+
help:
59+
zh_Hans: 思考过程的最大长度,只在思考模式为true时生效。
60+
en_US: The maximum length of the thinking process, only effective when thinking mode is true.
61+
pricing:
62+
input: "0"
63+
output: "0"
64+
unit: "1"
65+
currency: USD

models/longcat/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
dify_plugin<0.6.0,>=0.5.0
1+
dify-plugin==0.7.1

0 commit comments

Comments
 (0)