mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 17:01:00 +03:00
Feature/Add chatflowId To Config (#4950)
* allow overrideconfig from executeflow node to take in variables * update array object schema * add chatflowId to config
This commit is contained in:
@@ -1412,6 +1412,7 @@ class Agent_Agentflow implements INode {
|
|||||||
(selectedTool as any).requiresHumanInput && (!iterationContext || Object.keys(iterationContext).length === 0)
|
(selectedTool as any).requiresHumanInput && (!iterationContext || Object.keys(iterationContext).length === 0)
|
||||||
|
|
||||||
const flowConfig = {
|
const flowConfig = {
|
||||||
|
chatflowId: options.chatflowid,
|
||||||
sessionId: options.sessionId,
|
sessionId: options.sessionId,
|
||||||
chatId: options.chatId,
|
chatId: options.chatId,
|
||||||
input: input,
|
input: input,
|
||||||
@@ -1679,6 +1680,7 @@ class Agent_Agentflow implements INode {
|
|||||||
let parsedArtifacts
|
let parsedArtifacts
|
||||||
|
|
||||||
const flowConfig = {
|
const flowConfig = {
|
||||||
|
chatflowId: options.chatflowid,
|
||||||
sessionId: options.sessionId,
|
sessionId: options.sessionId,
|
||||||
chatId: options.chatId,
|
chatId: options.chatId,
|
||||||
input: input,
|
input: input,
|
||||||
|
|||||||
@@ -274,6 +274,7 @@ class Tool_Agentflow implements INode {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const flowConfig = {
|
const flowConfig = {
|
||||||
|
chatflowId: options.chatflowid,
|
||||||
sessionId: options.sessionId,
|
sessionId: options.sessionId,
|
||||||
chatId: options.chatId,
|
chatId: options.chatId,
|
||||||
input: input,
|
input: input,
|
||||||
|
|||||||
Reference in New Issue
Block a user