ai: gemini: annotation sources

This commit is contained in:
end-4
2025-05-10 10:56:35 +02:00
parent 0af7924be9
commit f93cca8a13
6 changed files with 130 additions and 2 deletions
@@ -20,10 +20,15 @@ Item {
property var inputField: messageInputField
readonly property var messages: Ai.messages
property string commandPrefix: "/"
property string faviconDownloadPath: StringUtils.trimFileProtocol(`${StandardPaths.standardLocations(StandardPaths.CacheLocation)[0]}/media/favicons`)
property var suggestionQuery: ""
property var suggestionList: []
Component.onCompleted: {
Hyprland.dispatch(`exec mkdir -p ${faviconDownloadPath}`)
}
Connections {
target: panelWindow
function onVisibleChanged(visible) {
@@ -205,6 +210,7 @@ int main(int argc, char* argv[]) {
messageIndex: index
messageData: modelData
messageInputField: root.inputField
faviconDownloadPath: root.faviconDownloadPath
}
}