feat(llm): add DeepSeek V4 Pro/Flash as LLM provider (#9)

↗ view on GitHub · EduardoCarone · 2026-07-11 · d769a4ff

- New Chat Completions adapter (deepseek.ts) with streaming, tool calls,
  and thinking/reasoning support via DeepSeek API
- Add deepseek-v4-pro (main tier) and deepseek-v4-flash (mid/low tier)
- Add DEEPSEEK_API_KEY to env schema, userApiKeys, userSettings
- Frontend: model picker, API keys page, model availability, user profile
- Tests: env, logger, env-isolation updated for new provider
- Docs: ENVIRONMENT-VARIABLES.md updated

DeepSeek API is OpenAI-compatible but uses Chat Completions API
(/v1/chat/completions) not Responses API (/v1/responses), so a separate
adapter is required.

Co-authored-by: Januário <januario@Januarios-Mac-mini.local>
Repository Edu-Carone-SA/mike
Author EduardoCarone <educarone@gmail.com>
Authored
Parents 11672475
Stats 19 files changed , +462 , -9
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-d769a4ff.md from inside the repo you want the change in.

⬇ Download capture-commit-d769a4ff.md