From a98c9f2022a79e6f8f5aecb21be9aabbeedcfa6c Mon Sep 17 00:00:00 2001 From: kwaroran Date: Thu, 11 Apr 2024 04:50:42 +0900 Subject: [PATCH] Fix asHyper flag in sendChat function --- src/ts/process/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ts/process/index.ts b/src/ts/process/index.ts index 8aa6cd07..71697c08 100644 --- a/src/ts/process/index.ts +++ b/src/ts/process/index.ts @@ -645,7 +645,7 @@ export async function sendChat(chatProcessIndex = -1,arg:{chatAdditonalTokens?:n if(nowChatroom.supaMemory && db.supaMemoryType !== 'none'){ chatProcessStage.set(2) const sp = await supaMemory(chats, currentTokens, maxContextTokens, currentChat, nowChatroom, tokenizer, { - asHyper: db.supaMemoryType !== 'subModel' && db.hypaMemory + asHyper: db.hypaMemory }) if(sp.error){ alertError(sp.error)