Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(copilot): idb upgrade

himself659422b9385706
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',