dotfiles/.config/quickshell/services/AiMessageData.qml
2025-06-20 11:23:28 +02:00

19 lines
522 B
QML

import "root:/modules/common"
import QtQuick;
/**
* Represents a message in an AI conversation. (Kind of) follows the OpenAI API message structure.
*/
QtObject {
property string role
property string content
property string model
property bool thinking: true
property bool done: false
property var annotations: []
property var annotationSources: []
property string functionName
property string functionCall
property string functionResponse
property bool visibleToUser: true
}