Skip to content

refactor: Upgrade gpt-4.1 mini model to gpt-5-mini#173

Merged
Roopan-Microsoft merged 3 commits into
microsoft:mainfrom
chaudhariniraj:dev
Jul 10, 2026
Merged

refactor: Upgrade gpt-4.1 mini model to gpt-5-mini#173
Roopan-Microsoft merged 3 commits into
microsoft:mainfrom
chaudhariniraj:dev

Conversation

@chaudhariniraj

@chaudhariniraj chaudhariniraj commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Purpose

This PR upgrades the deployment to use gpt-5-mini

Changes

  • Updated OpenAI model references in deployment parameters and scripts.
  • Aligned quota check defaults and examples with the new model.
  • Ensured a supported model version is used for new deployments.

Why?

This change prepares the accelerator for the current Azure OpenAI model support and prevents deployment failures caused by deprecated model validation.

Does this introduce a breaking change?

  • Yes
  • No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

What to Check

Verify that the following are valid

  • ...

Other Information

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the accelerator’s default chat model configuration from gpt-4.1-mini to gpt-5-mini, keeping the quota-check scripts, infrastructure parameters, and documentation aligned.

Changes:

  • Switched quota-check script defaults and examples to gpt-5-mini.
  • Updated the Bicep parameter model deployment to gpt-5-mini with a new model version.
  • Refreshed quota-check documentation and sample output to match the new default model.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
scripts/quota_check.sh Updates default model/examples to gpt-5-mini; retains alternate quota-key fallback logic.
scripts/quota_check.ps1 Updates default model/examples to gpt-5-mini; updates quota-key comment and help text.
infra/main.bicepparam Changes the deployed chat model name/version to gpt-5-mini.
docs/quota_check.md Updates documentation examples and sample output header for the new default model.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread scripts/quota_check.sh Outdated
Comment thread scripts/quota_check.ps1 Outdated
Comment thread scripts/quota_check.ps1
Copilot AI review requested due to automatic review settings July 10, 2026 07:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

Comment thread scripts/quota_check.sh
Comment thread scripts/quota_check.sh
Comment thread scripts/quota_check.sh Outdated
Copilot AI review requested due to automatic review settings July 10, 2026 07:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

Comment thread scripts/quota_check.sh
Comment thread scripts/quota_check.sh
Comment thread scripts/quota_check.sh
@Roopan-Microsoft Roopan-Microsoft merged commit 9f4f32d into microsoft:main Jul 10, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants