mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-12 06:06:10 +00:00
The B5b read-only endpoint now has a write counterpart so the new Settings → AI dropdown UX can save reorder + enable/disable changes. Server-side priority is recomputed from insertion order (so the UI's visual contract — "first row = priority 1" — cannot drift from what gets persisted), unknown provider types and duplicates 422, and an empty chain is rejected outright. parseProviderChain still falls back to the default chain when the persisted JSON is malformed, so a stale-tab resubmit cannot poison generation. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>