mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-20 02:01:26 +08:00
@@ -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()]
|
||||||
: [];
|
: [];
|
||||||
|
Reference in New Issue
Block a user