Bugfix/agentflow v2 session id override (#4999)

* fix overrideconfig sessionId

* Fix: update chatflow query to use sessionId instead of chatId
This commit is contained in:
Henry Heng
2025-08-01 12:47:44 +01:00
committed by GitHub
parent d29db16bfc
commit ff9a2a65b5
+1 -1
View File
@@ -1571,7 +1571,7 @@ export const executeAgentFlow = async ({
.find({
where: {
chatflowid,
chatId
sessionId
},
order: {
createdDate: 'ASC'