mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-09-30 15:16:38 +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:
parent
d56566cd73
commit
d0aac5935b
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user