fix: pass provider to connection test so Azure OpenAI uses correct endpoint

This commit is contained in:
liweixin
2026-04-07 20:14:20 +08:00
committed by lyingbug
parent 2eb2dea634
commit 4e4118d406
3 changed files with 10 additions and 4 deletions
+1
View File
@@ -255,6 +255,7 @@ export function checkRemoteModel(modelConfig: {
modelName: string;
baseUrl: string;
apiKey?: string;
provider?: string;
}): Promise<{
available: boolean;
message?: string;