feat: add DeepSeek provider with Anthropic-compatible API#46
Open
wowitsjack wants to merge 1 commit intonumman-ali:mainfrom
Open
feat: add DeepSeek provider with Anthropic-compatible API#46wowitsjack wants to merge 1 commit intonumman-ali:mainfrom
wowitsjack wants to merge 1 commit intonumman-ali:mainfrom
Conversation
DeepSeek now offers an official Anthropic-compatible endpoint at api.deepseek.com/anthropic. This adds first-class support with deepseek-reasoner mapped to Opus and deepseek-chat to Sonnet/Haiku, a 10-minute timeout per DeepSeek's recommendation, and the "DeepSeek Abyss" ocean blue brand theme.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
api.deepseek.com/anthropic)deepseek-reasonerto Opus (reasoning mode) anddeepseek-chatto Sonnet/Haiku (fast mode), both powered by DeepSeek-V3.2Changes
src/providers/index.ts— DeepSeek provider definition with model mapping and env configsrc/brands/deepseek.ts— New "DeepSeek Abyss" TweakCC brand theme (ocean blue palette, teal accents)src/brands/index.ts— Brand preset registrationsrc/tui/content/providers.ts— Education content and comparison list entrysrc/tui/screens/ModelConfigScreen.tsx— Model placeholders for the config screenNotes
apiKeyauth mode (not authToken), since DeepSeek's Anthropic endpoint expects the key inANTHROPIC_API_KEYTest plan
npm run dev -- quick --provider deepseek --api-key <key>creates a working variantdeepseek-reasoner(Opus/thinking mode) anddeepseek-chat(Sonnet/Haiku) worknpx cc-mirror doctorpasses for the deepseek variant