gateway: add local backend update action

This commit is contained in:
William Valentin
2026-02-22 16:57:57 -08:00
parent c48f6f5fd3
commit c79e082905
7 changed files with 199 additions and 22 deletions
+5 -1
View File
@@ -384,7 +384,11 @@ Return status for user-level local LLM backend daemons (for example `ollama.serv
#### `system.localBackendControl`
Control a local backend daemon (`start`, `restart`, `stop`).
Control a local backend daemon (`start`, `restart`, `stop`, `update`).
- `update` semantics:
- `ollama`: pulls configured Ollama models (tiers/local providers + embedding/audio models) via `ollama pull`.
- `llamacpp`: performs a safe service restart (model file refresh remains external to Flynn).
**Request:**
```json