feat(provider): add DeepSeek provider with configuration and icon support (#907)

This commit is contained in:
Haze
2026-04-24 11:41:47 +08:00
committed by GitHub
parent ae9af725b2
commit f893f2b21b
5 changed files with 32 additions and 0 deletions

View File

@@ -198,6 +198,30 @@ export const PROVIDER_DEFINITIONS: ProviderDefinition[] = [
apiKeyEnv: 'SILICONFLOW_API_KEY',
},
},
{
id: 'deepseek',
name: 'DeepSeek',
icon: '🐋',
placeholder: 'sk-...',
model: 'DeepSeek',
requiresApiKey: true,
defaultBaseUrl: 'https://api.deepseek.com/v1',
showModelId: true,
showModelIdInDevModeOnly: true,
modelIdPlaceholder: 'deepseek-v4-pro',
defaultModelId: 'deepseek-v4-pro',
apiKeyUrl: 'https://platform.deepseek.com/api_keys',
category: 'official',
envVar: 'DEEPSEEK_API_KEY',
supportedAuthModes: ['api_key'],
defaultAuthMode: 'api_key',
supportsMultipleAccounts: true,
providerConfig: {
baseUrl: 'https://api.deepseek.com/v1',
api: 'openai-completions',
apiKeyEnv: 'DEEPSEEK_API_KEY',
},
},
{
id: 'minimax-portal',
name: 'MiniMax (Global)',