mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 07:00:49 +03:00
Feature/Seq Agent Nodes Update (#2942)
update all seg agent nodes to 2.0 for UI UX improvements
This commit is contained in:
@@ -34,21 +34,23 @@ class State_SeqAgents implements INode {
|
||||
icon: string
|
||||
category: string
|
||||
baseClasses: string[]
|
||||
documentation?: string
|
||||
credential: INodeParams
|
||||
inputs: INodeParams[]
|
||||
|
||||
constructor() {
|
||||
this.label = 'State'
|
||||
this.name = 'seqState'
|
||||
this.version = 1.0
|
||||
this.version = 2.0
|
||||
this.type = 'State'
|
||||
this.icon = 'state.svg'
|
||||
this.category = 'Sequential Agents'
|
||||
this.description = 'A centralized state object, updated by nodes in the graph, passing from one node to another'
|
||||
this.baseClasses = [this.type]
|
||||
this.documentation = 'https://docs.flowiseai.com/using-flowise/agentflows/sequential-agents#id-3.-state-node'
|
||||
this.inputs = [
|
||||
{
|
||||
label: 'State',
|
||||
label: 'Custom State',
|
||||
name: 'stateMemory',
|
||||
type: 'tabs',
|
||||
tabIdentifier: TAB_IDENTIFIER,
|
||||
@@ -56,7 +58,7 @@ class State_SeqAgents implements INode {
|
||||
default: 'stateMemoryUI',
|
||||
tabs: [
|
||||
{
|
||||
label: 'State (Table)',
|
||||
label: 'Custom State (Table)',
|
||||
name: 'stateMemoryUI',
|
||||
type: 'datagrid',
|
||||
description:
|
||||
@@ -80,7 +82,7 @@ class State_SeqAgents implements INode {
|
||||
additionalParams: true
|
||||
},
|
||||
{
|
||||
label: 'State (Code)',
|
||||
label: 'Custom State (Code)',
|
||||
name: 'stateMemoryCode',
|
||||
type: 'code',
|
||||
description: `JSON object representing the state`,
|
||||
|
||||
Reference in New Issue
Block a user