forked from XiaoMo/ChatGPT-Next-Web
fix summarize don't send
This commit is contained in:
parent
38f2495cf6
commit
089e3b8946
@ -420,7 +420,7 @@ export const useChatStore = create<ChatStore>()(
|
||||
modelConfig.sendMemory &&
|
||||
session.memoryPrompt &&
|
||||
session.memoryPrompt.length > 0 &&
|
||||
session.lastSummarizeIndex <= clearContextIndex;
|
||||
session.lastSummarizeIndex > clearContextIndex;
|
||||
const longTermMemoryPrompts = shouldSendLongTermMemory
|
||||
? [get().getMemoryPrompt()]
|
||||
: [];
|
||||
|
Loading…
Reference in New Issue
Block a user