diff --git a/chat.js b/chat.js index ad98005..76e5927 100644 --- a/chat.js +++ b/chat.js @@ -237,7 +237,7 @@ window.toggleThinking = function(id) { } // Update message content (for streaming) -function updateMessageContent(contentDiv, newContent, markdown = false) { +function updateMessageContent(contentDiv, newContent, markdown = false, role) { // Parse thinking tags first const processedContent = parseThinkingTags(newContent)