From c01cea4062d065f437fb628ec6aa676adaaedff5 Mon Sep 17 00:00:00 2001 From: Isadora White Date: Wed, 2 Apr 2025 15:31:06 -0700 Subject: [PATCH] update prompted to log memSaving better --- src/models/prompter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/prompter.js b/src/models/prompter.js index b4c9ee2..23e0ec7 100644 --- a/src/models/prompter.js +++ b/src/models/prompter.js @@ -379,7 +379,7 @@ export class Prompter { let prompt = this.profile.saving_memory; prompt = await this.replaceStrings(prompt, null, null, to_summarize); let resp = await this.chat_model.sendRequest([], prompt); - await this._saveLog(prompt, null, resp, 'memSaving'); + await this._saveLog(prompt, to_summarize, resp, 'memSaving'); if (resp?.includes('')) { const [_, afterThink] = resp.split('') resp = afterThink