v1.6.0 — Settings persistence & LLM model overrides
Highlights
- Global settings persisted to Lakebase — configuration now survives redeploys and restarts (previously ephemeral in
/tmp). Session-scoped credentials (lakebase_service_token) remain memory-only with boundary-matched sensitive-key detection. - Dynamic gateway defaults — gateway create stores
NULLfor unset numeric/model fields and resolves them at runtime against current global settings. Changing a global threshold now applies to existing gateways that kept defaults. - Per-gateway LLM model overrides —
normalization_model,validation_model, andintent_split_modelare now selectable per gateway, with fallback to global → module default when blank. - Falsy-value fixes — replaced
or-based coalescing withis not Nonechecks sosimilarity_threshold=0andmax_queries_per_minute=0are preserved. - Playground conversation persistence — user-scoped
localStoragewith schema versioning; in-flight queries marked as failed on restore; persists on visibility/unmount. - UI clarity — Settings page banner explaining precedence ("defaults for new gateways, runtime fallback when unset"); per-gateway Settings tab shows current global value alongside overridable fields.
Changelog
Closes #26.