diff --git a/lib/models.json b/lib/models.json index 863284b..24ff04c 100644 --- a/lib/models.json +++ b/lib/models.json @@ -182,6 +182,13 @@ "name": "Grok (Beta)", "multiModal": false }, + { + "id": "deepseek-chat", + "provider": "DeepSeek", + "providerId": "deepseek", + "name": "DeepSeek V3", + "multiModal": false + }, { "id": "llama3.1", "provider": "Ollama", diff --git a/lib/models.ts b/lib/models.ts index 4360675..09baafc 100644 --- a/lib/models.ts +++ b/lib/models.ts @@ -63,6 +63,11 @@ export function getModelClient(model: LLMModel, config: LLMModelConfig) { apiKey: apiKey || process.env.XAI_API_KEY, baseURL: baseURL || 'https://api.x.ai/v1', })(modelNameString), + deepseek: () => + createOpenAI({ + apiKey: apiKey || process.env.DEEPSEEK_API_KEY, + baseURL: baseURL || 'https://api.deepseek.com/v1', + })(modelNameString), } const createClient = diff --git a/public/thirdparty/logos/deepseek.svg b/public/thirdparty/logos/deepseek.svg new file mode 100644 index 0000000..3fc2302 --- /dev/null +++ b/public/thirdparty/logos/deepseek.svg @@ -0,0 +1 @@ +DeepSeek \ No newline at end of file