Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.

Commit ab3c111

Browse files
committed
fix: add Azure provider validation for onboarding workflow
- Add azureApiKey to SECRET_STATE_KEYS for proper configuration detection - Add Azure validation case in validateModelsAndKeysProvided - Add validation translations for azureResourceName and azureDeploymentName across all 18 locales This fixes the issue where the Finish button does nothing when setting up Azure provider in the onboarding workflow.
1 parent 906d5f5 commit ab3c111

20 files changed

Lines changed: 66 additions & 18 deletions

packages/types/src/global-settings.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ export const SECRET_STATE_KEYS = [
288288
"ioIntelligenceApiKey",
289289
"vercelAiGatewayApiKey",
290290
"basetenApiKey",
291+
"azureApiKey",
291292
] as const
292293

293294
// Global secrets that are part of GlobalSettings (not ProviderSettings)

webview-ui/src/i18n/locales/ca/settings.json

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/src/i18n/locales/de/settings.json

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/src/i18n/locales/en/settings.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,9 @@
10311031
"providerNotAllowed": "Provider '{{provider}}' is not allowed by your organization",
10321032
"modelNotAllowed": "Model '{{model}}' is not allowed for provider '{{provider}}' by your organization",
10331033
"profileInvalid": "This profile contains a provider or model that is not allowed by your organization",
1034-
"qwenCodeOauthPath": "You must provide a valid OAuth credentials path."
1034+
"qwenCodeOauthPath": "You must provide a valid OAuth credentials path.",
1035+
"azureResourceName": "You must provide an Azure resource name.",
1036+
"azureDeploymentName": "You must provide an Azure deployment name."
10351037
},
10361038
"placeholders": {
10371039
"apiKey": "Enter API Key...",

webview-ui/src/i18n/locales/es/settings.json

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/src/i18n/locales/fr/settings.json

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/src/i18n/locales/hi/settings.json

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/src/i18n/locales/id/settings.json

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/src/i18n/locales/it/settings.json

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/src/i18n/locales/ja/settings.json

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)