From 2722c47fed560ad88b45ef724c56011dd5d44c5f Mon Sep 17 00:00:00 2001 From: Brian Hackett Date: Fri, 28 Feb 2025 07:09:31 -0800 Subject: [PATCH] Include chat ID in more console logs --- app/lib/replay/SimulationPrompt.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/lib/replay/SimulationPrompt.ts b/app/lib/replay/SimulationPrompt.ts index f09b92c7..ffc0cab5 100644 --- a/app/lib/replay/SimulationPrompt.ts +++ b/app/lib/replay/SimulationPrompt.ts @@ -132,6 +132,9 @@ class ChatManager { const responseId = ""; const chatId = await this.chatIdPromise; + + console.log("ChatSendMessage", new Date().toISOString(), chatId, JSON.stringify(messages)); + await this.client.sendCommand({ method: "Nut.sendChatMessage", params: { chatId, responseId, messages }, @@ -239,7 +242,5 @@ export async function getSimulationEnhancedPrompt( gLastSimulationChatMessages = messages; - console.log("ChatSendMessage", new Date().toISOString(), JSON.stringify(messages)); - return gChatManager.sendChatMessage(messages); }