forked from Shinonome/dots-hyprland
ai chat: fix message not fade in until the end when there's code blocks
This commit is contained in:
@@ -271,6 +271,8 @@ Rectangle {
|
||||
property bool thinking: root.messageData?.thinking ?? true
|
||||
property bool done: root.messageData?.done ?? false
|
||||
property bool completed: thisBlock.completed ?? false
|
||||
|
||||
property bool forceDisableChunkSplitting: root.messageData.content.includes("```")
|
||||
|
||||
source: thisBlock.type === "code" ? "MessageCodeBlock.qml" :
|
||||
thisBlock.type === "think" ? "MessageThinkBlock.qml" :
|
||||
|
||||
Reference in New Issue
Block a user