Merge pull request #1661 from melon95/bugfix/sessionId

[Bufix] Modify the default value of sessionId when fetching history chat messages.
This commit is contained in:
Henry Heng
2024-02-06 17:49:44 +08:00
committed by GitHub
+1 -1
View File
@@ -1445,7 +1445,7 @@ export class App {
chatType,
chatId,
memoryType: memoryType ?? (chatId ? IsNull() : undefined),
sessionId: sessionId ?? (chatId ? IsNull() : undefined),
sessionId: sessionId ?? undefined,
createdDate: toDate && fromDate ? Between(fromDate, toDate) : undefined
},
order: {