feat: add standalone DeepSeek provider support#14393
Closed
osoulmate wants to merge 12 commits intoopenclaw:mainfrom
Closed
feat: add standalone DeepSeek provider support#14393osoulmate wants to merge 12 commits intoopenclaw:mainfrom
osoulmate wants to merge 12 commits intoopenclaw:mainfrom
Conversation
…ek-model feat: add standalone DeepSeek provider support
bfc1ccb to
f92900f
Compare
|
This pull request has been automatically marked as stale due to inactivity. |
…-support-in-project Add basic i18n support, language selector, and Chinese translations
…ssues-in-content-titles Internationalize UI headings and add translation keys
|
This pull request has been automatically marked as stale due to inactivity. |
14 tasks
|
Closing due to inactivity. |
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.
Motivation
Description
src/agents/deepseek-models.tsand exposedDEEPSEEK_BASE_URLandDEEPSEEK_DEFAULT_MODEL_REFfor wiring.deepseekis auto-registered whenDEEPSEEK_API_KEYor adeepseekauth profile exists insrc/agents/models-config.providers.tsand added env var mapping insrc/agents/model-auth.ts.src/commands/onboard-auth.config-core.tsand credential helpersetDeepseekApiKeyinsrc/commands/onboard-auth.credentials.ts.deepseek-api-key/--deepseek-api-keyinsrc/commands/onboard-types.tsandsrc/cli/program/register.onboard.ts.src/commands/auth-choice-options.ts,src/commands/auth-choice.preferred-provider.ts, andsrc/commands/auth-choice.apply.api-providers.ts.src/commands/onboard-non-interactive/local/*andsrc/commands/onboard-non-interactive/local/auth-choice-inference.ts.src/agents/models-config.skips-writing-models-json-no-env-token.test.ts,src/cli/program.smoke.test.ts,src/commands/auth-choice-options.test.ts).docs/providers/deepseek.mdand linked it fromdocs/providers/index.md.Testing
pnpm test -- src/agents/models-config.skips-writing-models-json-no-env-token.test.ts src/cli/program.smoke.test.ts src/commands/auth-choice-options.test.ts, all tests passed (Test Files: 3, Tests: 32 passed).pnpm tsgo, which completed successfully.pnpm formatto update style, which completed successfully.Codex Task
Greptile Overview
Greptile Summary
This PR adds first-class DeepSeek support across the model catalog, implicit provider discovery, and both interactive/non-interactive onboarding flows. It introduces a DeepSeek provider definition (
src/agents/deepseek-models.ts), auto-registers the provider whenDEEPSEEK_API_KEYor a DeepSeek auth profile exists, and extends CLI flags/types and auth-choice UX so users can configure DeepSeek via--auth-choice deepseek-api-keyand--deepseek-api-key.The change fits into the existing architecture by following the same patterns used for other API-key providers (e.g., Together/Venice): env/profile discovery populates
models.json, onboarding writes an auth profile (deepseek:default), and config appliers register provider+models and optionally set the default model todeepseek/deepseek-chat.Confidence Score: 5/5
(2/5) Greptile learns from your feedback when you react with thumbs up/down!