File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 77 posix :
88 shell : sh
99 run : >
10- ./infra/scripts/validate_model_deployment_quota.sh --subscription "$AZURE_SUBSCRIPTION_ID" --location "${AZURE_OPENAI_LOCATION :-swedencentral}" --models-parameter "aiModelDeployments"
10+ ./infra/scripts/validate_model_deployment_quota.sh --subscription "$AZURE_SUBSCRIPTION_ID" --location "${AZURE_ENV_OPENAI_LOCATION :-swedencentral}" --models-parameter "aiModelDeployments"
1111 interactive : false
1212 continueOnError : false
1313
1414 windows :
1515 shell : pwsh
1616 run : >
17- $location = if ($env:AZURE_OPENAI_LOCATION ) { $env:AZURE_OPENAI_LOCATION } else { "swedencentral" };
17+ $location = if ($env:AZURE_ENV_OPENAI_LOCATION ) { $env:AZURE_ENV_OPENAI_LOCATION } else { "swedencentral" };
1818 ./infra/scripts/validate_model_deployment_quotas.ps1 -SubscriptionId $env:AZURE_SUBSCRIPTION_ID -Location $location -ModelsParameter "aiModelDeployments"
1919 interactive : false
2020 continueOnError : false
Original file line number Diff line number Diff line change @@ -97,9 +97,9 @@ if ($FallbackRegions.Count -gt 0) {
9797 }
9898
9999 Write-Host " `n 🔧 To proceed, run:"
100- Write-Host " azd env set AZURE_OPENAI_LOCATION '<region>'"
100+ Write-Host " azd env set AZURE_ENV_OPENAI_LOCATION '<region>'"
101101 Write-Host " 📌 To confirm it's set correctly, run:"
102- Write-Host " azd env get-value AZURE_OPENAI_LOCATION "
102+ Write-Host " azd env get-value AZURE_ENV_OPENAI_LOCATION "
103103 Write-Host " ▶️ Once confirmed, re-run azd up to deploy the model in the new region."
104104 exit 2
105105}
Original file line number Diff line number Diff line change @@ -89,9 +89,9 @@ if [[ "${#FALLBACK_REGIONS[@]}" -gt 0 ]]; then
8989 echo " • $fallback "
9090 done
9191 echo -e " \n🔧 To proceed, run:"
92- echo " azd env set AZURE_OPENAI_LOCATION '<region>'"
92+ echo " azd env set AZURE_ENV_OPENAI_LOCATION '<region>'"
9393 echo " 📌 To confirm it's set correctly, run:"
94- echo " azd env get-value AZURE_OPENAI_LOCATION "
94+ echo " azd env get-value AZURE_ENV_OPENAI_LOCATION "
9595 echo " ▶️ Once confirmed, re-run azd up to deploy the model in the new region."
9696 exit 2
9797fi
You can’t perform that action at this time.
0 commit comments