From 9422b938570635c81c4c28020379db0ddc0be034 Mon Sep 17 00:00:00 2001 From: himself65 Date: Fri, 16 Jun 2023 11:15:51 +0800 Subject: [PATCH] fix(copilot): idb upgrade --- plugins/copilot/src/core/langchain/message-history.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/copilot/src/core/langchain/message-history.ts b/plugins/copilot/src/core/langchain/message-history.ts index 154fce6d09..f78aebd804 100644 --- a/plugins/copilot/src/core/langchain/message-history.ts +++ b/plugins/copilot/src/core/langchain/message-history.ts @@ -55,6 +55,9 @@ export class IndexedDBChatMessageHistory extends ChatMessageHistory { database.createObjectStore('chat', { keyPath: 'id', }); + database.createObjectStore('followingUp', { + keyPath: 'id', + }); } else if (oldVersion === 1) { database.createObjectStore('followingUp', { keyPath: 'id',