Skip to content

feat(ai-providers): add DeepSeek preset (V4 Pro default)#142

Merged
luokerenx4 merged 1 commit intomasterfrom
dev
Apr 24, 2026
Merged

feat(ai-providers): add DeepSeek preset (V4 Pro default)#142
luokerenx4 merged 1 commit intomasterfrom
dev

Conversation

@luokerenx4
Copy link
Copy Markdown
Contributor

Summary

  • Adds a DeepSeek preset to the AI provider catalog, routed via DeepSeek's first-class Anthropic-compat endpoint (https://api.deepseek.com/anthropic) — matches the GLM / Kimi / MiniMax shape.
  • Ships with deepseek-v4-pro as the default, deepseek-v4-flash as the cheaper alternative. Deprecated aliases (deepseek-chat / deepseek-reasoner) omitted; users who still need them can reach them via the Custom preset.
  • Unlike Kimi, DeepSeek publishes both OpenAI-compat and Anthropic-compat endpoints as first-class, so agent-sdk is a blessed integration route here — no cosplay-caveat comment needed on this preset.

DeepSeek V4 context: 81% SWE-bench Verified, 1M context, hybrid reasoning, and cache_read priced at $0.03/M (90% off fresh input) — useful when the system prompt is large and repeated.

Test plan

  • npx tsc --noEmit clean
  • Manual: create a DeepSeek profile via the UI, hit Test Connection, confirm a valid 1-token response comes back
  • Manual: set as active profile, send one chat message, verify routing via ALICE_SDK_DEBUG=1logs/agent-sdk-debug.log (only api.deepseek.com + hardcoded Anthropic management paths should appear)

🤖 Generated with Claude Code

DeepSeek V4 launched early 2026 — 81% SWE-bench Verified, 1M context,
hybrid reasoning, and cache_read priced at $0.03/M (90% off fresh input,
useful when the system prompt is large and repeated).

Routed via DeepSeek's first-class Anthropic-compat endpoint at
api.deepseek.com/anthropic, matching the GLM/Kimi/MiniMax shape. Unlike
Kimi (where Anthropic-compat is a secondary path behind OpenAI Chat
Completions), DeepSeek publishes both endpoints as first-class, so
agent-sdk is a blessed route — no cosplay-caveat comment needed.

Ships with deepseek-v4-pro as default and deepseek-v4-flash as the
cheaper second option. Deprecated aliases (deepseek-chat, deepseek-
reasoner) omitted; users who still rely on those can reach them via
the Custom preset.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@luokerenx4 luokerenx4 merged commit 1df1d32 into master Apr 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant