mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-02-23 17:59:49 +08:00
commit
29fd9b23fe
@ -420,7 +420,7 @@ export const useChatStore = create<ChatStore>()(
|
|||||||
modelConfig.sendMemory &&
|
modelConfig.sendMemory &&
|
||||||
session.memoryPrompt &&
|
session.memoryPrompt &&
|
||||||
session.memoryPrompt.length > 0 &&
|
session.memoryPrompt.length > 0 &&
|
||||||
session.lastSummarizeIndex <= clearContextIndex;
|
session.lastSummarizeIndex > clearContextIndex;
|
||||||
const longTermMemoryPrompts = shouldSendLongTermMemory
|
const longTermMemoryPrompts = shouldSendLongTermMemory
|
||||||
? [get().getMemoryPrompt()]
|
? [get().getMemoryPrompt()]
|
||||||
: [];
|
: [];
|
||||||
|
Loading…
Reference in New Issue
Block a user