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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1571,7 +1571,7 @@ export const executeAgentFlow = async ({
.find({
where: {
chatflowid,
chatId
sessionId
},
order: {
createdDate: 'ASC'