mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-09 19:55:31 +08:00
add deepseek-reasoner, and change deepseek's summary model to deepseek-chat
This commit is contained in:
@@ -20,6 +20,7 @@ import {
|
||||
DEFAULT_MODELS,
|
||||
DEFAULT_SYSTEM_TEMPLATE,
|
||||
GEMINI_SUMMARIZE_MODEL,
|
||||
DEEPSEEK_SUMMARIZE_MODEL,
|
||||
KnowledgeCutOffDate,
|
||||
MCP_SYSTEM_TEMPLATE,
|
||||
MCP_TOOLS_TEMPLATE,
|
||||
@@ -143,7 +144,10 @@ function getSummarizeModel(
|
||||
}
|
||||
if (currentModel.startsWith("gemini")) {
|
||||
return [GEMINI_SUMMARIZE_MODEL, ServiceProvider.Google];
|
||||
} else if (currentModel.startsWith("deepseek-")) {
|
||||
return [DEEPSEEK_SUMMARIZE_MODEL, ServiceProvider.DeepSeek];
|
||||
}
|
||||
|
||||
return [currentModel, providerName];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user