merge upstream

This commit is contained in:
sijinhui
2024-04-09 12:52:27 +08:00
parent a83d79a9f4
commit 9d306118b3
2 changed files with 2 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ export function auth(
break;
case ModelProvider.GPT:
default:
if (serverConfig.isAzure) {
if (isAzure) {
systemApiKey = serverConfig.azureApiKey;
} else {
systemApiKey = serverConfig.apiKey;