1.3 KiB
1.3 KiB
Findings
Onboarding Implementation
- Onboarding logic is spread across
src/commands/onboard-*andsrc/wizard/onboarding*.ts. onboard-auth.tsexports functions to apply configurations for various providers.onboard-auth.config-core.tsandonboard-auth.credentials.tshandle core provider setup.onboard-auth.models.tsdefines model defaults.- DeepSeek is currently missing from the onboarding flow.
DeepSeek Integration Plan
- Define Defaults: Add DeepSeek model constants in
src/commands/onboard-auth.models.ts(reuse constants frommodels-config.providers.tsif possible, but they are private there, so likely redefine or export). - Config Applicator: Create
applyDeepSeekProviderConfigandapplyDeepSeekConfiginsrc/commands/onboard-auth.config-core.ts(or a new file if needed, but core seems fine). - Credential Setter: Add
setDeepSeekApiKeyinsrc/commands/onboard-auth.credentials.ts. - Interactive Flow: Update
src/commands/onboard-interactive.tsorsrc/commands/auth-choice.tsto include DeepSeek as an option. - Export: Update
src/commands/onboard-auth.tsto export the new functions.
Implementation Details
DEEPSEEK_DEFAULT_MODEL_ID=deepseek-chatDEEPSEEK_DEFAULT_MODEL_REF=deepseek/deepseek-chat