Fix asHyper flag in sendChat function
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user