Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add deepseek-reasoner (R1) model #3813

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gui/src/pages/AddNewModel/AddNewModel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const modelsByProvider: Record<string, ModelPackage[]> = {
models.mistralLarge,
],
Cohere: [models.commandR, models.commandRPlus],
DeepSeek: [models.deepseekCoderApi, models.deepseekChatApi],
DeepSeek: [models.deepseekCoderApi, models.deepseekChatApi, models.deepseekReasonerApi],
Gemini: [models.geminiPro, models.gemini15Pro, models.gemini15Flash],
"Open Source": [models.llama3Chat, models.mistralOs, models.deepseek],
};
Expand Down
13 changes: 13 additions & 0 deletions gui/src/pages/AddNewModel/configs/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,19 @@ export const models: { [key: string]: ModelPackage } = {
providerOptions: ["deepseek"],
isOpenSource: false,
},
deepseekReasonerApi: {
title: "DeepSeek Reasoner",
description:
"An open-source reasoning model which generates a chain of thought to enhance the accuracy of its responses.",
params: {
title: "DeepSeek Reasoner",
model: "deepseek-reasoner",
contextLength: 64_000,
},
icon: "deepseek.png",
providerOptions: ["deepseek"],
isOpenSource: true,
},
deepseekCoder2Lite: {
title: "DeepSeek Coder 2 Lite",
description:
Expand Down
2 changes: 1 addition & 1 deletion gui/src/pages/AddNewModel/configs/providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ Select the \`GPT-4o\` model below to complete your provider configuration, but n
required: true,
},
],
packages: [models.deepseekCoderApi, models.deepseekChatApi],
packages: [models.deepseekCoderApi, models.deepseekChatApi, models.deepseekReasonerApi],
apiKeyUrl: "https://platform.deepseek.com/api_keys",
},
together: {
Expand Down