hotfix ts

This commit is contained in:
lloydzhou
2024-07-04 08:36:25 +00:00
parent a68341eae6
commit 97aa72ec5b
3 changed files with 9 additions and 9 deletions

View File

@@ -146,8 +146,8 @@ async function request(req: NextRequest) {
if (
isModelAvailableInServer(
serverConfig.customModels,
jsonBody?.model,
ServiceProvider.Anthropic,
jsonBody?.model as string,
ServiceProvider.Anthropic as string,
)
) {
return NextResponse.json(