refactor: logging changes
not so much but just in case:
This commit is contained in:
@@ -790,7 +790,7 @@ export async function sendChat(chatProcessIndex = -1,arg:{
|
|||||||
DBState.db.characters[selectedChar].chats[selectedChat].hypaV2Data = currentChat.hypaV2Data
|
DBState.db.characters[selectedChar].chats[selectedChat].hypaV2Data = currentChat.hypaV2Data
|
||||||
|
|
||||||
currentChat = DBState.db.characters[selectedChar].chats[selectedChat];
|
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{
|
else{
|
||||||
const sp = await supaMemory(chats, currentTokens, maxContextTokens, currentChat, nowChatroom, tokenizer, {
|
const sp = await supaMemory(chats, currentTokens, maxContextTokens, currentChat, nowChatroom, tokenizer, {
|
||||||
|
|||||||
@@ -30,7 +30,6 @@ async function summary(
|
|||||||
stringlizedChat: string
|
stringlizedChat: string
|
||||||
): Promise<{ success: boolean; data: string }> {
|
): Promise<{ success: boolean; data: string }> {
|
||||||
const db = getDatabase();
|
const db = getDatabase();
|
||||||
console.log("Summarizing");
|
|
||||||
|
|
||||||
if (db.supaModelType === "distilbart") {
|
if (db.supaModelType === "distilbart") {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user