mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-11-15 22:42:50 -05:00
refactor: Change handling finished tools and thinking blocks
This commit is contained in:
@ -26,6 +26,8 @@ Rectangle {
|
||||
property string toolContent: ""
|
||||
property bool expanded: false
|
||||
|
||||
property alias headerOpacity: headerRow.opacity
|
||||
|
||||
readonly property int firstNewline: toolContent.indexOf('\n')
|
||||
readonly property string toolName: firstNewline > 0 ? toolContent.substring(0, firstNewline) : toolContent
|
||||
readonly property string toolResult: firstNewline > 0 ? toolContent.substring(firstNewline + 1) : ""
|
||||
|
||||
Reference in New Issue
Block a user