mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-06-26 18:26:38 +00:00
Include chat ID in more console logs
This commit is contained in:
parent
ed5d7a81d9
commit
2722c47fed
@ -132,6 +132,9 @@ class ChatManager {
|
||||
|
||||
const responseId = "<response-id>";
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user