mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 15:00:57 +03:00
Bugfix/tool node selected tool (#4579)
* fix tool node selected tool * fix tool node config * update node to display tool node icons
This commit is contained in:
@@ -401,8 +401,11 @@ const AgentFlowNode = ({ data }) => {
|
||||
{ tools: data.inputs?.llmTools, toolProperty: 'llmSelectedTool' },
|
||||
{ tools: data.inputs?.agentTools, toolProperty: 'agentSelectedTool' },
|
||||
{
|
||||
tools: data.inputs?.selectedTool ? [{ selectedTool: data.inputs?.selectedTool }] : [],
|
||||
toolProperty: 'selectedTool'
|
||||
tools:
|
||||
data.inputs?.selectedTool ?? data.inputs?.toolAgentflowSelectedTool
|
||||
? [{ selectedTool: data.inputs?.selectedTool ?? data.inputs?.toolAgentflowSelectedTool }]
|
||||
: [],
|
||||
toolProperty: ['selectedTool', 'toolAgentflowSelectedTool']
|
||||
},
|
||||
{ tools: data.inputs?.agentKnowledgeVSEmbeddings, toolProperty: ['vectorStore', 'embeddingModel'] }
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user