diff options
Diffstat (limited to 'desktop/assistant/README.md')
| -rw-r--r-- | desktop/assistant/README.md | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/desktop/assistant/README.md b/desktop/assistant/README.md index aabce2d..4715b12 100644 --- a/desktop/assistant/README.md +++ b/desktop/assistant/README.md @@ -20,6 +20,7 @@ what is typed. The protocol is specified in that repo, | `Picker.qml` | the in-card file picker behind the paperclip | | `Md.js` | splits a message into prose and fenced code | | `Files.js` | a path's kind, and a dropped URL to a path | +| `Presets.js` | the Ask row's canned questions and which kinds they fit | Three states (`Assistant.qml`, `mode`): **entry**, one line, "How can I help you?"; **file**, files staged and nothing asked yet, with what can be @@ -65,5 +66,11 @@ Notes: - **`socketPath`** is a property so a check can point the canvas at a scratch daemon; the desktop uses the default. -Test the splitter and the kinds: `node desktop/assistant/test_md.js`, -`node desktop/assistant/test_files.js`. +- **Ask presets** live in `Prefs.qml` (`assistant.presets`) once saved and + are `Presets.js`'s defaults until then; an invalid saved list reads as the + defaults. There is no editor yet: a drawer settings page will call + `Prefs.setPresets`. Each prompt asks for an answer in the document's + language, since the model answers in the language it is asked in. + +Tests: `node desktop/assistant/test_md.js`, `test_files.js`, +`test_presets.js` (same directory). |
