DeepSeek connector: add V4 models (deepseek-v4-pro / deepseek-v4-flash)#104
Open
leaft wants to merge 1 commit into
Open
DeepSeek connector: add V4 models (deepseek-v4-pro / deepseek-v4-flash)#104leaft wants to merge 1 commit into
leaft wants to merge 1 commit into
Conversation
LiveReview Pre-Commit Check: ran (iter:1, coverage:0%)
Contributor
|
Hi @leaft - thanks for the contribution. We will have a discussion about updating model names on a day to day basis from some source such as OpenRouter or such. This way - the outdated model problem can be eliminated in a general way. If it's going to take a while to integrate that approach - we will merge your changes for the short term. |
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.
What
Add DeepSeek's current V4 models to the DeepSeek BYOK connector and make
deepseek-v4-flashthe recommended default, while keeping the existingdeepseek-chat/deepseek-r1options for backward compatibility.Why
The DeepSeek connector only offered the legacy
deepseek-chat/deepseek-r1models. Because the model picker for non-Ollama providers is a fixed<select>populated solely fromprovider.models, users had no way to select DeepSeek's current V4 models (deepseek-v4-pro,deepseek-v4-flash) per the official API docs.Closes #103.
Verification
POST https://api.deepseek.com/chat/completionswithmodel: "deepseek-v4-pro"→ HTTP 200, response echoes"model":"deepseek-v4-pro".lrc ui→/api/ui/connectors/validate-key→ LiveReview cloud → DeepSeek):deepseek-v4-pro→{"valid":true}deepseek-v4-flash(implicitly via default) — accepted{"valid":false}(control: confirms the cloud actually probes the model, not just the key)go build ./...andnode --check providers.jspass.Scope
UI-only change to
internal/staticserve/static/ui-connectors/providers.js; no backend changes.