hypav2.ts update

one final stability check will be required..
This commit is contained in:
LightningHyperBlaze45654
2024-06-17 08:21:56 -07:00
parent dab52b6a1f
commit ff52e8dd37
2 changed files with 36 additions and 13 deletions

View File

@@ -732,6 +732,7 @@ export async function sendChat(chatProcessIndex = -1,arg:{chatAdditonalTokens?:n
}
else if(db.hypav2){ //HypaV2 support needs to be changed like this.
const sp = await hypaMemoryV2(chats, currentTokens, maxContextTokens, currentChat, nowChatroom, tokenizer)
console.log("All chats: ", chats)
if(sp.error){
console.log(sp)
alertError(sp.error)