feat: add DeepSeek as LLM provider #116
Merged
+20
−0
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
deepseek-chat) and DeepSeek R1 (deepseek-reasoner) modelsChatOpenAIwith a custom base URL (https://api.deepseek.com) — same pattern as xAI/Grok and Moonshot/KimiDEEPSEEK_API_KEYand select DeepSeek from the provider listChanges
src/model/llm.ts— Addeddeepseek-prefix model factory anddeepseekfast model variantsrc/utils/env.ts— Registered DeepSeek provider config withDEEPSEEK_API_KEYsrc/components/ModelSelector.tsx— Added DeepSeek provider with V3 and R1 models to the UIenv.example— AddedDEEPSEEK_API_KEYplaceholderTest plan
tsc --noEmit)bun test— 9/9)Closes #111