Skip to content

Commit 155b9ba

Browse files
Update environment variable references for AI service location in validation scripts
1 parent 644f4ba commit 155b9ba

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

scripts/validate_model_quota.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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_AISERVICE_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_AISERVICE_LOCATION"
103103
Write-Host "▶️ Once confirmed, re-run azd up to deploy the model in the new region."
104104
exit 2
105105
}

scripts/validate_model_quota.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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_AISERVICE_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_AISERVICE_LOCATION"
9595
echo "▶️ Once confirmed, re-run azd up to deploy the model in the new region."
9696
exit 2
9797
fi

0 commit comments

Comments
 (0)