mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
21 lines
605 B
QML
21 lines
605 B
QML
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 rawContent
|
|
property string model
|
|
property bool thinking: true
|
|
property bool done: false
|
|
property var annotations: []
|
|
property var annotationSources: []
|
|
property list<string> searchQueries: []
|
|
property string functionName
|
|
property var functionCall
|
|
property string functionResponse
|
|
property bool functionPending: false
|
|
property bool visibleToUser: true
|
|
}
|