Skip to content

Commit 129b479

Browse files
authored
[agent-flow] 1.Modify StartNode max conversation turn to 20 2.Upgrade version to 1.0.0-alpha.7 (#3)
1 parent bd8fc08 commit 129b479

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

agent-flow/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@fit-elsa/agent-flow",
33
"private": false,
4-
"version": "1.0.0-alpha.6",
4+
"version": "1.0.0-alpha.7",
55
"type": "module",
66
"main": "./build/agent-flow.js",
77
"module": "./build/agent-flow.js",

agent-flow/src/components/start/ByConversationTurn.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default function ByConversationTurn({propValue, onValueChange, disabled,
2929
const shape = useShapeContext && useShapeContext();
3030

3131
const defaultRecalls = {
32-
1: '1', [3]: i18n('default'), 10: '10'
32+
1: '1', [3]: i18n('default'), 20: '20'
3333
};
3434

3535
// 注册开始节点轮次数.
@@ -54,7 +54,7 @@ export default function ByConversationTurn({propValue, onValueChange, disabled,
5454
<div style={{display: 'flex', alignItems: 'center'}}>
5555
<Slider style={{width: '95%'}} // 设置固定宽度
5656
min={1}
57-
max={10}
57+
max={20}
5858
disabled={disabled}
5959
defaultValue={3}
6060
marks={defaultRecalls}

0 commit comments

Comments
 (0)