diff options
Diffstat (limited to 'desktop/assistant/Assistant.qml')
| -rw-r--r-- | desktop/assistant/Assistant.qml | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/desktop/assistant/Assistant.qml b/desktop/assistant/Assistant.qml index 4144910..a4fda72 100644 --- a/desktop/assistant/Assistant.qml +++ b/desktop/assistant/Assistant.qml @@ -86,9 +86,6 @@ Scope { property var convs: [] property var results: [] readonly property bool busy: root.state !== "idle" - // A reply finished (not stopped). The canvas notifies through notifyDone; - // the desktop companion waves. - signal replied() // A daemon gone mid-reply sends no idle; its hello on return redraws. onConnectedChanged: if (!root.connected) { @@ -113,10 +110,9 @@ Scope { Quickshell.screens.find(s => s.name === root.monitor) ?? Quickshell.screens[0] // The tall card (a chat, or a panel) is fullHeight and centred, so its - // top only moves on entering or leaving tall. The companion sits there. + // top only moves on entering or leaving tall. readonly property bool tall: root.mode === "chat" || root.historyOpen || root.pickerOpen || root.modelsOpen readonly property int fullHeight: Math.round(root.screenObj.height * 0.7) - readonly property int cardTop: Math.round((root.screenObj.height - root.fullHeight) / 2) function toggle() { if (root.open) root.close(); else root.show(); } @@ -451,10 +447,7 @@ Scope { } if (!e.stopped) root.convId = e.id; root.lastActive = Date.now(); - if (!e.stopped && i >= 0) { - root.notifyDone(turns.get(i).reply); - root.replied(); - } + if (!e.stopped && i >= 0) root.notifyDone(turns.get(i).reply); break; case "progress": if (root.opDaemon) root.opChars = e.chars; break; case "written": |
