Feature/Seq Agent Nodes Update (#2942)

update all seg agent nodes to 2.0 for UI UX improvements
This commit is contained in:
Henry Heng
2024-08-06 11:30:08 +01:00
committed by GitHub
parent 7153093bfc
commit 70d7420d02
21 changed files with 1789 additions and 887 deletions
@@ -90,17 +90,19 @@ class Condition_SeqAgents implements INode {
baseClasses: string[]
credential: INodeParams
inputs: INodeParams[]
documentation?: string
outputs: INodeOutputsValue[]
constructor() {
this.label = 'Condition'
this.name = 'seqCondition'
this.version = 1.0
this.version = 2.0
this.type = 'Condition'
this.icon = 'condition.svg'
this.category = 'Sequential Agents'
this.description = 'Conditional function to determine which route to take next'
this.baseClasses = [this.type]
this.documentation = 'https://docs.flowiseai.com/using-flowise/agentflows/sequential-agents#id-7.-conditional-node'
this.inputs = [
{
label: 'Condition Name',
@@ -214,13 +216,13 @@ class Condition_SeqAgents implements INode {
{
label: 'Next',
name: 'next',
baseClasses: ['Agent', 'LLMNode', 'ToolNode'],
baseClasses: ['Condition'],
isAnchor: true
},
{
label: 'End',
name: 'end',
baseClasses: ['Agent', 'LLMNode', 'ToolNode'],
baseClasses: ['Condition'],
isAnchor: true
}
]