fix: pass role parameter to updateMessageContent

Co-authored-by: aider (openai//models/qwen2.5-coder-32b-instruct-q4_k_m.gguf) <aider@aider.chat>
This commit is contained in:
mike
2025-12-28 01:15:39 +01:00
parent e00d78f495
commit 6c7d7f7abe

View File

@@ -237,7 +237,7 @@ window.toggleThinking = function(id) {
} }
// Update message content (for streaming) // Update message content (for streaming)
function updateMessageContent(contentDiv, newContent, markdown = false) { function updateMessageContent(contentDiv, newContent, markdown = false, role) {
// Parse thinking tags first // Parse thinking tags first
const processedContent = parseThinkingTags(newContent) const processedContent = parseThinkingTags(newContent)