Add DeepSeek V4 built-in models - #292
Merged
Merged
Conversation
Summary by CodeRabbit
WalkthroughThe built-in registry now includes DeepSeek V4 Flash and Pro. Both models use OOMOL routing, official model IDs, one-million-token contexts, reasoning variants, tool-call support, and text-only capabilities. Tests validate registry metadata, token limits, built-in ID recognition, catalog contents, agent behavior, and persisted model selection. 🚥 Pre-merge checks | ✅ 2 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (2 passed)
✨ Finishing Touches✨ Simplify code
Comment |
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
Add DeepSeek V4 Flash and DeepSeek V4 Pro to Wanta's built-in model catalog using the official model IDs
deepseek-v4-flashanddeepseek-v4-pro.User impact
Signed-in users can select both DeepSeek models directly from the built-in-model section without configuring a DeepSeek API key. Existing DeepSeek BYOK presets remain available under the separate custom-model section, so credential ownership stays explicit.
Both built-in models are intentionally text-only. Wanta does not advertise image or native PDF input for them, while tool calling and the
low,high, andmaxreasoning levels remain available.Root cause
The DeepSeek V4 entries were already present as custom-provider presets but were not registered in the current built-in catalog. Persisted selections using their former built-in IDs were consequently treated as stale and fell back to Auto.
Changes
low/high/maxreasoning variants.Validation
pnpm run lintpnpm run ts-checkpnpm exec oxfmt --check electron/models/builtin.ts electron/models/builtin.test.ts electron/models/store.test.ts electron/agent/agent.test.tspnpm test— 283 test files and 2,126 tests passedgit diff --check