[fix] hypamemory

This commit is contained in:
kwaroran
2023-07-07 07:03:21 +09:00
parent 7ff9561ee0
commit 810a5d4f18

View File

@@ -297,7 +297,7 @@ export async function sendChat(chatProcessIndex = -1,arg:{chatAdditonalTokens?:n
if(nowChatroom.supaMemory && db.supaMemoryType !== 'none'){
const sp = await supaMemory(chats, currentTokens, maxContextTokens, currentChat, nowChatroom, tokenizer, {
asHyper: db.hypaMemory
asHyper: db.supaMemoryType !== 'subModel' && db.hypaMemory
})
if(sp.error){
alertError(sp.error)