aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/assistant/Card.qml
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-23 17:10:56 +0200
committerDanilo M. <danix@danix.xyz>2026-10-23 17:10:56 +0200
commit566b1a73ad1caf7ed399f96f5ec45153f7bd980f (patch)
treeecce80967a110ec1bfafc6cc50f0a97e9554fbcd /desktop/assistant/Card.qml
parent9b8b64da15bd6f96f228736f8604aef003304e72 (diff)
downloadquickshell-566b1a73ad1caf7ed399f96f5ec45153f7bd980f.tar.gz
quickshell-566b1a73ad1caf7ed399f96f5ec45153f7bd980f.zip
assistant: load the chat's model on open, docs for cloud models
The canvas asks for its chat's model, else the preferred one, when it opens and when the pick changes; a cloud id loads nothing. The paperclip also closes the model panel, so it and the picker never stack. The plan's Models.qml import is corrected to the one that resolves. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/assistant/Card.qml')
-rw-r--r--desktop/assistant/Card.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/assistant/Card.qml b/desktop/assistant/Card.qml
index b9fe4e5..810920f 100644
--- a/desktop/assistant/Card.qml
+++ b/desktop/assistant/Card.qml
@@ -465,7 +465,7 @@ Rectangle {
text: ""
font.family: Theme.iconFamily
onClicked: {
- card.canvas.historyOpen = false;
+ card.canvas.historyOpen = card.canvas.modelsOpen = false;
card.canvas.pickerOpen = !card.canvas.pickerOpen;
}
}