diff --git a/app/api/glm.ts b/app/api/glm.ts index ea7a766bd4b..3625b9f7bf9 100644 --- a/app/api/glm.ts +++ b/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,