Skip to content

Commit d0aac59

Browse files
authored
fix(deepseek): deepseek should not check Moonshot ServiceProvider
fix `you are not allowed to use DeepSeek model` error without Moonshot settings
1 parent d56566c commit d0aac59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/api/deepseek.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ async function request(req: NextRequest) {
9191
isModelNotavailableInServer(
9292
serverConfig.customModels,
9393
jsonBody?.model as string,
94-
ServiceProvider.Moonshot as string,
94+
ServiceProvider.DeepSeek as string,
9595
)
9696
) {
9797
return NextResponse.json(

0 commit comments

Comments
 (0)