fix: gptmodel update - #678
Merged
Merged
Conversation
- Replace deprecated gpt-4.1-mini (2025-04-14) with gpt-5-mini (2025-08-07) in main.bicep/main.json, CI.yml, quota scripts and docs - Set AKS agent pool availabilityZones=[] to avoid AvailabilityZoneNotSupported in regions/subs without zones - Change AKS VM size Standard_D4ds_v5 -> Standard_D4ds_v6 (v5 not allowed in subscription) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Shubhangi-Microsoft
requested review from
Avijit-Microsoft,
Roopan-Microsoft,
aniaroramsft,
dgp10801,
nchandhi and
toherman-msft
as code owners
July 16, 2026 11:56
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the solution’s default Azure OpenAI model configuration from gpt-4.1-mini to gpt-5-mini (including model version), and makes related infrastructure and documentation adjustments. It also updates AKS infrastructure defaults (agent pool VM SKU and zonal placement behavior) and adds a new AKS wrapper module under infra/avm/modules.
Changes:
- Switch default GPT model to
gpt-5-miniand version to2025-08-07across infra templates, CI, scripts, and docs. - Update AKS agent pool default VM SKU to
Standard_D4ds_v6and explicitly disable availability zones in the main infra template. - Add a new AKS AVM wrapper module (
infra/avm/modules/compute/kubernetes.bicep) with parameters and outputs.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| infra/main.json | Updates default GPT model/version, quota usageName, AKS agent pool VM SKU, and agent pool zonal placement configuration. |
| infra/main.bicep | Updates default GPT model/version and AKS agent pool defaults (SKU + availabilityZones: []). |
| infra/avm/modules/compute/kubernetes.bicep | Adds a new AKS wrapper module around the AVM managed-cluster module with parameters/outputs. |
| docs/QuotaCheck.md | Updates quota-check documentation examples to the new default GPT model. |
| docs/CustomizingAzdParameters.md | Updates documented default environment parameters for GPT model name/version. |
| docs/AVMPostDeploymentGuide.md | Updates recommended quota table to the new default GPT model. |
| Deployment/quota_check_params.sh | Updates default model-capacity pair to gpt-5-mini. |
| Deployment/checkquota.ps1 | Updates quota lookup key to OpenAI.GlobalStandard.gpt-5-mini. |
| .github/workflows/CI.yml | Updates CI deployment parameters for GPT model name/version. |
| .github/CODEOWNERS | Updates CODEOWNERS handles. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Roopan-Microsoft
approved these changes
Jul 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates the deployment to use the newer
gpt-5-minimodel instead ofgpt-4.1-minithroughout the codebase, infrastructure, and documentation. It also updates the default model version, capacity recommendations, and related parameters to align with the new model. Additionally, minor improvements were made to resource deployment scripts and code owners.Model Upgrade and Configuration Changes:
gpt-4.1-minitogpt-5-miniin the deployment scripts (infra/main.bicep,infra/main.json,Deployment/checkquota.ps1,Deployment/quota_check_params.sh,.github/workflows/CI.yml) and documentation (docs/AVMPostDeploymentGuide.md,docs/CustomizingAzdParameters.md,docs/QuotaCheck.md). [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]2025-04-14to2025-08-07in all relevant configuration files and documentation. [1] [2] [3] [4]Documentation Updates:
Infrastructure and Deployment Improvements:
availabilityZones: []to the managed cluster configuration to avoid issues in regions/subscriptions without availability zones. [1] [2]Maintenance:
.github/CODEOWNERSfile for consistency.This pull request makes several important updates to transition the default GPT model fromgpt-4.1-minitogpt-5-miniacross the codebase, documentation, infrastructure templates, and deployment scripts. In addition, it introduces a new AKS (Azure Kubernetes Service) module and updates the default VM SKU for agent pools. These changes ensure that deployments and documentation are aligned with the latest model versions and infrastructure best practices.Key changes:
Model Upgrade and Configuration
gpt-4.1-minitogpt-5-minithroughout infrastructure templates (infra/main.bicep,infra/main.json), deployment scripts (Deployment/checkquota.ps1,Deployment/quota_check_params.sh), CI workflows (.github/workflows/CI.yml), and documentation. The default model version was also updated from2025-04-14to2025-08-07. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]Infrastructure Enhancements
infra/avm/modules/compute/kubernetes.bicepto standardize and simplify AKS cluster deployments with configurable parameters and outputs, including identity principal IDs.Standard_D4ds_v5toStandard_D4ds_v6and explicitly disabled zonal placement to improve compatibility across regions. [1] [2]Documentation Updates
Maintenance and Minor Fixes
.github/CODEOWNERSfile for consistency.infra/main.json.Does this introduce a breaking change?
Golden Path Validation
Deployment Validation
What to Check
Verify that the following are valid
Other Information