Skip to content

Commit 7b70c3d

Browse files
authored
added DeepSeek Chat (#93)
Co-authored-by: Mish Ushakov <[email protected]>
1 parent 3a310ee commit 7b70c3d

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

lib/models.json

+7
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,13 @@
189189
"name": "Grok (Beta)",
190190
"multiModal": false
191191
},
192+
{
193+
"id": "deepseek-chat",
194+
"provider": "DeepSeek",
195+
"providerId": "deepseek",
196+
"name": "DeepSeek V3",
197+
"multiModal": false
198+
},
192199
{
193200
"id": "llama3.1",
194201
"provider": "Ollama",

lib/models.ts

+5
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ export function getModelClient(model: LLMModel, config: LLMModelConfig) {
6363
apiKey: apiKey || process.env.XAI_API_KEY,
6464
baseURL: baseURL || 'https://api.x.ai/v1',
6565
})(modelNameString),
66+
deepseek: () =>
67+
createOpenAI({
68+
apiKey: apiKey || process.env.DEEPSEEK_API_KEY,
69+
baseURL: baseURL || 'https://api.deepseek.com/v1',
70+
})(modelNameString),
6671
}
6772

6873
const createClient =

public/thirdparty/logos/deepseek.svg

+1
Loading

0 commit comments

Comments
 (0)