From d82f44188a91a6122c4d333a3df94e8ed8e6f289 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 23 Oct 2026 17:15:35 +0200 Subject: 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 --- desktop/modules/assistant/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'desktop/modules/assistant/README.md') 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/.toml` -to `.toml.off`, which the daemon's `*.toml` glob skips. +to `.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 -- cgit v1.2.3