MIKE-FIX-LLM: make DeepSeek the only production model and fix API key flow (#12)

↗ view on GitHub · EduardoCarone · 2026-07-11 · 5359c00e

* docs(sprint): document MIKE-FIX-LLM-PRODUCTION-01 results

* fix(llm): resilient api key status, health check, settings UI, tests

- getUserApiKeyStatus returns partial status on DB failure (no throw)
- getUserApiKeySuffix for masked key display
- POST /user/api-keys/:provider/health endpoint
- Settings UI: managed/personal/not-configured states
- Test key button with health status display
- 11 new tests (async error handling + api key resilience)
- Remove non-DeepSeek providers from Settings page

Total: 238 tests (153 backend + 85 frontend)

---------

Co-authored-by: Januário <januario@Januarios-Mac-mini.local>
Repository Edu-Carone-SA/mike
Author EduardoCarone <educarone@gmail.com>
Authored
Parents 2cc67cce
Stats 7 files changed , +510 , -28
Part of DeepSeek V4 becomes the sole production LLM provider

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-5359c00e.md from inside the repo you want the change in.

⬇ Download capture-commit-5359c00e.md