feat: include general processing log as well

This commit is contained in:
Shivam Mishra
2025-03-13 14:45:17 +05:30
parent 0efca7f422
commit 7facffa631
@@ -264,6 +264,13 @@ export const mutations = {
}
}
if (window.newrelic) {
window.newrelic.log(
`processing conversation update for ${conversation.id} with incoming ${makeCompactJson(conversation)} and stored ${makeCompactJson(selectedConversation)}`,
{ level: 'DEBUG' }
);
}
const { messages, ...updates } = conversation;
allConversations[index] = { ...selectedConversation, ...updates };
if (_state.selectedChatId === conversation.id) {