aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/modules/assistant/AssistantModule.qml
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-17 11:53:41 +0100
committerDanilo M. <danix@danix.xyz>2026-11-17 11:53:41 +0100
commit4f1242ca873df8c167530475fcbd80808dc94a7d (patch)
tree4d8a62c1eb31b1967454354d87cb0ce74ca0a2d7 /desktop/modules/assistant/AssistantModule.qml
parent474ddd078d0d976a84e88b8003bbf0cee40a2aaa (diff)
downloadquickshell-4f1242ca873df8c167530475fcbd80808dc94a7d.tar.gz
quickshell-4f1242ca873df8c167530475fcbd80808dc94a7d.zip
assistant: output folder from the daemon's out_dir
The settings page edits out_dir in the daemon's config.toml, with the daemon's resolved default as placeholder; the canvas takes the folder from hello instead of asking xdg-user-dir itself. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/modules/assistant/AssistantModule.qml')
-rw-r--r--desktop/modules/assistant/AssistantModule.qml8
1 files changed, 5 insertions, 3 deletions
diff --git a/desktop/modules/assistant/AssistantModule.qml b/desktop/modules/assistant/AssistantModule.qml
index 9e8adbc..6aefb1f 100644
--- a/desktop/modules/assistant/AssistantModule.qml
+++ b/desktop/modules/assistant/AssistantModule.qml
@@ -27,7 +27,8 @@ Module {
settings: true
group: "Assistant"
keywords: ["llm", "model", "llama", "server", "prompt", "temperature", "thinking",
- "rounds", "tools", "environment", "daemon", "restart", "cloud", "provider"]
+ "rounds", "tools", "environment", "daemon", "restart", "cloud", "provider",
+ "folder", "output", "documents"]
readonly property string home: Quickshell.env("HOME")
readonly property string daemonDir: home + "/Programming/GIT/desktop-assistant"
@@ -38,9 +39,10 @@ Module {
// The system interpreter, as for calctl: python3 on PATH is a pyenv shim.
readonly property string python: "/usr/bin/python3"
- readonly property var keys: ["llm", "system", "tool_rounds", "temperature", "thinking"]
+ readonly property var keys: ["llm", "system", "tool_rounds", "temperature", "thinking", "out_dir"]
readonly property var labels: ({ llm: "Server", system: "System prompt", tool_rounds: "Tool rounds",
- temperature: "Temperature", thinking: "Thinking" })
+ temperature: "Temperature", thinking: "Thinking",
+ out_dir: "Output folder" })
// config.toml as last read or written; "" when there is none. The page
// edits draft, which save() writes; base is the file the draft began