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:
2
chat.js
2
chat.js
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user