Commit graph

8 commits

Author SHA1 Message Date
rcourtman
99dad2b511 Add a guided Ollama quickstart blessing qwen3:8b for Patrol
Ollama is the zero-cost AI path but the setup row offered only a Server
URL, and Patrol then failed on models that cannot emit tool_calls
(#1463, #847, #1425, #1152, #880). Bless qwen3:8b, the model family
Ollama's own tool-calling docs are written against, verified locally
against Patrol's real preflight: qwen3:8b emitted the tool call on
every run; qwen3:4b never did (0/4), so no low-RAM tag is suggested.

- Registry: SuggestedModel/Note/Equivalents on AIProviderDefinition,
  projected on /api/settings/ai providers; Ollama default model goes
  llama3.2 -> qwen3:8b.
- Provider row: copyable 'ollama pull qwen3:8b' block with hardware
  note, and a next-step hint when a successful test resolves a model
  outside the blessing set.
- Model resolution: exact-ID blessed preference, so pulling qwen3:8b
  makes it the auto-resolved Patrol model with no manual selection.
- Readiness copy names the blessed model (its contract pins landed
  with 94ccc7a0c's staging; this commit restores green).
- manual_ollama_preflight_test.go is the env-gated re-blessing
  harness; contracts updated for ai-runtime, api-contracts,
  frontend-primitives, and the agent-lifecycle/storage-recovery
  dependent boundaries; subsystem_lookup_test line pins follow the
  api-contracts.md insertion.
2026-07-10 13:02:26 +01:00
rcourtman
091ffc2f3d Keep Assistant chat model routes explicit
Fail unusable selected chat routes instead of substituting a same-provider default so retries and errors stay tied to the chosen model.
2026-06-08 07:21:38 +01:00
rcourtman
2d4c98d513 Reject cross-provider Assistant route fallback 2026-06-07 18:13:21 +01:00
rcourtman
5c4b54251d Clarify Assistant gateway fallback and command copy 2026-06-07 16:17:31 +01:00
rcourtman
d20017cdb2 Route Assistant gateway fallback through model resolution 2026-06-07 15:45:00 +01:00
rcourtman
26bdfe27df Add same-model OpenRouter chat fallback 2026-06-06 00:26:02 +01:00
rcourtman
2ab0a60e99 Speed up Assistant stream startup 2026-06-05 22:54:44 +01:00
rcourtman
7067a51680 Make Assistant provider fallback resilient 2026-06-05 20:15:55 +01:00