mirror of https://github.com/buster-so/buster.git
Update packages/database/src/queries/messages/helpers/merge-entries.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
948a07ec72
commit
0d44a230d7
|
@ -67,7 +67,7 @@ export function mergeReasoningMessages(
|
||||||
|
|
||||||
// Create a map of new messages by ID
|
// Create a map of new messages by ID
|
||||||
const updateMap = new Map<string, ChatMessageReasoningMessage>();
|
const updateMap = new Map<string, ChatMessageReasoningMessage>();
|
||||||
const updateIds = new Set<string>();
|
const updateMap = new Map<string, ChatMessageReasoningMessage>();
|
||||||
|
|
||||||
for (const msg of updates) {
|
for (const msg of updates) {
|
||||||
updateMap.set(msg.id, msg);
|
updateMap.set(msg.id, msg);
|
||||||
|
|
Loading…
Reference in New Issue