From 3d3e4dd6a12507787ef316a6d9cc65bf59e3976e Mon Sep 17 00:00:00 2001 From: HyperBlaze <73149145+LightningHyperBlaze45654@users.noreply.github.com> Date: Fri, 6 Dec 2024 20:20:39 -0800 Subject: [PATCH] refactor: logging changes not so much but just in case: --- src/ts/process/index.svelte.ts | 2 +- src/ts/process/memory/hypav2.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ts/process/index.svelte.ts b/src/ts/process/index.svelte.ts index b7b5578d..ace7e35f 100644 --- a/src/ts/process/index.svelte.ts +++ b/src/ts/process/index.svelte.ts @@ -790,7 +790,7 @@ export async function sendChat(chatProcessIndex = -1,arg:{ DBState.db.characters[selectedChar].chats[selectedChat].hypaV2Data = currentChat.hypaV2Data currentChat = DBState.db.characters[selectedChar].chats[selectedChat]; - console.log("Current chat's HypaV2Data: ", currentChat.hypaV2Data) + console.log("[Expected to be updated] chat's HypaV2Data: ", currentChat.hypaV2Data) } else{ const sp = await supaMemory(chats, currentTokens, maxContextTokens, currentChat, nowChatroom, tokenizer, { diff --git a/src/ts/process/memory/hypav2.ts b/src/ts/process/memory/hypav2.ts index cfddfbf0..cc94e384 100644 --- a/src/ts/process/memory/hypav2.ts +++ b/src/ts/process/memory/hypav2.ts @@ -30,7 +30,6 @@ async function summary( stringlizedChat: string ): Promise<{ success: boolean; data: string }> { const db = getDatabase(); - console.log("Summarizing"); if (db.supaModelType === "distilbart") { try {