mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-09-29 00:09:28 +08:00
chore: update
This commit is contained in:
@@ -95,8 +95,8 @@ export function auth(req: NextRequest, modelProvider: ModelProvider) {
|
||||
case ModelProvider.XAI:
|
||||
systemApiKey = serverConfig.xaiApiKey;
|
||||
break;
|
||||
case ModelProvider.GLM:
|
||||
systemApiKey = serverConfig.glmApiKey;
|
||||
case ModelProvider.ChatGLM:
|
||||
systemApiKey = serverConfig.chatglmApiKey;
|
||||
break;
|
||||
case ModelProvider.GPT:
|
||||
default:
|
||||
|
Reference in New Issue
Block a user