Преглед изворни кода

Merge pull request #5752 from ConnectAI-E/feat-glm

fix: ts error
Dogtiti пре 1 година
родитељ
комит
d66bfc6352
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/api/glm.ts

+ 1 - 1
app/api/glm.ts

@@ -22,7 +22,7 @@ export async function handle(
     return NextResponse.json({ body: "OK" }, { status: 200 });
   }
 
-  const authResult = auth(req, ModelProvider.GLM);
+  const authResult = auth(req, ModelProvider.ChatGLM);
   if (authResult.error) {
     return NextResponse.json(authResult, {
       status: 401,