mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-16 05:53:42 +08:00
fix(deepseek): deepseek should not check Moonshot ServiceProvider
fix `you are not allowed to use DeepSeek model` error without Moonshot settings
This commit is contained in:
@@ -91,7 +91,7 @@ async function request(req: NextRequest) {
|
||||
isModelNotavailableInServer(
|
||||
serverConfig.customModels,
|
||||
jsonBody?.model as string,
|
||||
ServiceProvider.Moonshot as string,
|
||||
ServiceProvider.DeepSeek as string,
|
||||
)
|
||||
) {
|
||||
return NextResponse.json(
|
||||
|
||||
Reference in New Issue
Block a user