Skip to content

Commit ff9a2a6

Browse files
authored
Bugfix/agentflow v2 session id override (#4999)
* fix overrideconfig sessionId * Fix: update chatflow query to use sessionId instead of chatId
1 parent d29db16 commit ff9a2a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/server/src/utils/buildAgentflow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1571,7 +1571,7 @@ export const executeAgentFlow = async ({
15711571
.find({
15721572
where: {
15731573
chatflowid,
1574-
chatId
1574+
sessionId
15751575
},
15761576
order: {
15771577
createdDate: 'ASC'

0 commit comments

Comments
 (0)