diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-23 17:15:35 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-23 17:15:35 +0200 |
| commit | d82f44188a91a6122c4d333a3df94e8ed8e6f289 (patch) | |
| tree | de15a1518c2941f01a5345581d66f0bddfac8bd0 /desktop/modules/assistant/README.md | |
| parent | 566b1a73ad1caf7ed399f96f5ec45153f7bd980f (diff) | |
| download | quickshell-d82f44188a91a6122c4d333a3df94e8ed8e6f289.tar.gz quickshell-d82f44188a91a6122c4d333a3df94e8ed8e6f289.zip | |
assistant settings: a cloud switch per tool; cloud Prefer rows show
The Prefer rows for cloud models never built: the shell's JS engine has
no Array.prototype.flatMap, and the Repeater's model threw a TypeError
(seen in qs log). The ids are now joined with reduce in the module.
Each tool row gains a cloud switch, applied on Save after the renames:
it writes or drops a top-level cloud = true, validated with tomllib and
replaced atomically, on name.toml or name.toml.off.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/modules/assistant/README.md')
| -rw-r--r-- | desktop/modules/assistant/README.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/desktop/modules/assistant/README.md b/desktop/modules/assistant/README.md index 9ee9736..a1ce840 100644 --- a/desktop/modules/assistant/README.md +++ b/desktop/modules/assistant/README.md @@ -13,7 +13,9 @@ are never copied here. A refused number is outlined and holds Save back. The system prompt also has "Use the default". The tool environment (`[env]`) is one row per key, with an add row below. A tool's switch, once saved, renames `tools/<name>.toml` -to `<name>.toml.off`, which the daemon's `*.toml` glob skips. +to `<name>.toml.off`, which the daemon's `*.toml` glob skips. Its cloud switch sets or drops +`cloud = true` at the top of the file, which offers the tool to cloud +chats; the file is checked with `tomllib` and replaced atomically. **Cloud** edits the daemon's `[[cloud]]` tables: name, URL and key command per provider. Fetch saves the page, then runs `assistant.py |
