mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-04 05:07:30 +00:00
d20671a736
The backend has had DiscoveryModel + GetDiscoveryModel() with the shared-default fallback alongside ChatModel and PatrolModel, but the settings UI only surfaced Assistant and Patrol overrides. Discovery silently used whatever the shared default was set to, with no way to dial it independently — yet Discovery is the surface where a cheaper model (e.g. Haiku) is most often the right tradeoff. Thread discoveryModel through the form state, load, save payload, and failure analyzer, and render a third picker in the Model Overrides section mirroring the Assistant/Patrol pattern. Generalize the section header and shared-default copy so they no longer enumerate surfaces. Extend the frontend-primitives contract to recognize Discovery alongside Assistant and Patrol as a per-surface override, and lock the picker presence into settingsArchitecture.test.ts.