mirror of
https://github.com/danbulant/dotfiles
synced 2026-06-02 06:10:45 +00:00
19 lines
522 B
QML
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
|
|
}
|