You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature - Add option to start a new session with each interaction with the Chatflow tool (#2633)
* Feature - Add option to start a new session with each interaction with the Chatflow tool
* ChatflowTool - Create random chatId when startNewSession is set
@@ -22,7 +23,7 @@ class ChatflowTool_Tools implements INode {
22
23
constructor(){
23
24
this.label='Chatflow Tool'
24
25
this.name='ChatflowTool'
25
-
this.version=2.0
26
+
this.version=3.0
26
27
this.type='ChatflowTool'
27
28
this.icon='chatflowTool.svg'
28
29
this.category='Tools'
@@ -66,6 +67,16 @@ class ChatflowTool_Tools implements INode {
66
67
optional: true,
67
68
additionalParams: true
68
69
},
70
+
{
71
+
label: 'Start new session per message',
72
+
name: 'startNewSession',
73
+
type: 'boolean',
74
+
description:
75
+
'Whether to continue the session with the Chatflow tool or start a new one with each interaction. Useful for Chatflows with memory if you want to avoid it.',
76
+
default: false,
77
+
optional: true,
78
+
additionalParams: true
79
+
},
69
80
{
70
81
label: 'Use Question from Chat',
71
82
name: 'useQuestionFromChat',
@@ -117,6 +128,8 @@ class ChatflowTool_Tools implements INode {
0 commit comments