Files
CatoandClaude Opus 5.5 0be6e6ab21 fix(settings): the company AI key is checked before it is saved, and stored encrypted (#125)
The schema said `aiApiKey // encrypted`; the settings action wrote it as typed,
and nothing checked it — a mistyped key saved fine and every chat then fell
back to the shared models with nobody told why.

- A new key is checked with its provider (ai-kit probeByokKey) before saving;
  a refused key, or a model the key cannot use, is reported in the provider's
  own words and nothing is stored.
- The key is encrypted with the existing integration-secrets helper (same app
  secret, no new env); keys saved before this still read as-is.
- Chat decrypts it; an undecryptable key behaves as no key.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 19:21:17 +01:00
..
2026-08-29 10:31:23 +00:00
2026-08-29 10:31:23 +00:00
2026-08-29 10:31:23 +00:00