mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 17:01:00 +03:00
add fixes for chaining
This commit is contained in:
@@ -1954,7 +1954,10 @@ export class App {
|
|||||||
chatflowid,
|
chatflowid,
|
||||||
this.AppDataSource,
|
this.AppDataSource,
|
||||||
incomingInput?.overrideConfig,
|
incomingInput?.overrideConfig,
|
||||||
this.cachePool
|
this.cachePool,
|
||||||
|
false,
|
||||||
|
undefined,
|
||||||
|
incomingInput.uploads
|
||||||
)
|
)
|
||||||
|
|
||||||
const nodeToExecute =
|
const nodeToExecute =
|
||||||
|
|||||||
@@ -27,7 +27,8 @@ import {
|
|||||||
ICommonObject,
|
ICommonObject,
|
||||||
IDatabaseEntity,
|
IDatabaseEntity,
|
||||||
IMessage,
|
IMessage,
|
||||||
FlowiseMemory
|
FlowiseMemory,
|
||||||
|
IFileUpload
|
||||||
} from 'flowise-components'
|
} from 'flowise-components'
|
||||||
import { randomBytes } from 'crypto'
|
import { randomBytes } from 'crypto'
|
||||||
import { AES, enc } from 'crypto-js'
|
import { AES, enc } from 'crypto-js'
|
||||||
@@ -279,7 +280,8 @@ export const buildLangchain = async (
|
|||||||
overrideConfig?: ICommonObject,
|
overrideConfig?: ICommonObject,
|
||||||
cachePool?: CachePool,
|
cachePool?: CachePool,
|
||||||
isUpsert?: boolean,
|
isUpsert?: boolean,
|
||||||
stopNodeId?: string
|
stopNodeId?: string,
|
||||||
|
uploads?: IFileUpload[]
|
||||||
) => {
|
) => {
|
||||||
const flowNodes = cloneDeep(reactFlowNodes)
|
const flowNodes = cloneDeep(reactFlowNodes)
|
||||||
|
|
||||||
@@ -325,7 +327,8 @@ export const buildLangchain = async (
|
|||||||
appDataSource,
|
appDataSource,
|
||||||
databaseEntities,
|
databaseEntities,
|
||||||
cachePool,
|
cachePool,
|
||||||
dynamicVariables
|
dynamicVariables,
|
||||||
|
uploads
|
||||||
})
|
})
|
||||||
logger.debug(`[server]: Finished upserting ${reactFlowNode.data.label} (${reactFlowNode.data.id})`)
|
logger.debug(`[server]: Finished upserting ${reactFlowNode.data.label} (${reactFlowNode.data.id})`)
|
||||||
break
|
break
|
||||||
@@ -340,7 +343,8 @@ export const buildLangchain = async (
|
|||||||
appDataSource,
|
appDataSource,
|
||||||
databaseEntities,
|
databaseEntities,
|
||||||
cachePool,
|
cachePool,
|
||||||
dynamicVariables
|
dynamicVariables,
|
||||||
|
uploads
|
||||||
})
|
})
|
||||||
|
|
||||||
// Save dynamic variables
|
// Save dynamic variables
|
||||||
|
|||||||
Reference in New Issue
Block a user