Merge branch 'main' into main

This commit is contained in:
glay
2024-12-30 09:50:42 +08:00
committed by GitHub
31 changed files with 776 additions and 89 deletions

View File

@@ -91,6 +91,9 @@ export function auth(req: NextRequest, modelProvider: ModelProvider) {
systemApiKey =
serverConfig.iflytekApiKey + ":" + serverConfig.iflytekApiSecret;
break;
case ModelProvider.DeepSeek:
systemApiKey = serverConfig.deepseekApiKey;
break;
case ModelProvider.XAI:
systemApiKey = serverConfig.xaiApiKey;
break;