Chore/ChatflowID CamelCase (#5205)
* add acceptVariable property to vector store metadata filter * add accepVariadd acceptVariable property to other json fields * add camelcase chatflowId to flowConfig
This commit is contained in:
parent
6885c38d18
commit
b2dcdab5b9
|
|
@ -370,6 +370,7 @@ export interface ICustomTemplate {
|
|||
|
||||
export interface IFlowConfig {
|
||||
chatflowid: string
|
||||
chatflowId: string
|
||||
chatId: string
|
||||
sessionId: string
|
||||
chatHistory: IMessage[]
|
||||
|
|
|
|||
|
|
@ -89,6 +89,7 @@ export const buildAgentGraph = async ({
|
|||
chatId,
|
||||
sessionId,
|
||||
chatflowid,
|
||||
chatflowId: chatflowid,
|
||||
logger,
|
||||
analytic,
|
||||
appDataSource,
|
||||
|
|
|
|||
|
|
@ -1011,6 +1011,7 @@ const executeNode = async ({
|
|||
const chatHistory = [...pastChatHistory, ...runtimeChatHistory]
|
||||
const flowConfig: IFlowConfig = {
|
||||
chatflowid: chatflow.id,
|
||||
chatflowId: chatflow.id,
|
||||
chatId,
|
||||
sessionId,
|
||||
apiMessageId,
|
||||
|
|
@ -1094,6 +1095,7 @@ const executeNode = async ({
|
|||
chatId,
|
||||
sessionId,
|
||||
chatflowid: chatflow.id,
|
||||
chatflowId: chatflow.id,
|
||||
apiMessageId: flowConfig.apiMessageId,
|
||||
logger,
|
||||
appDataSource,
|
||||
|
|
|
|||
|
|
@ -480,6 +480,7 @@ export const executeFlow = async ({
|
|||
|
||||
const flowConfig: IFlowConfig = {
|
||||
chatflowid,
|
||||
chatflowId: chatflow.id,
|
||||
chatId,
|
||||
sessionId,
|
||||
chatHistory,
|
||||
|
|
|
|||
Loading…
Reference in New Issue