Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Azure AI Foundry custom models extension to support asynchronous model registration, including optional polling for completion and a new --no-wait flag to return immediately with an operation URL.
Changes:
- Switched custom model registration to an async flow (
RegisterModelAsync) with optional polling (PollOperation) and a--no-waitescape hatch. - Updated user-facing CLI output to surface operation start and the operation URL.
- Bumped the extension version to
0.0.4-previewand added a changelog entry describing the new async behavior.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| cli/azd/extensions/azure.ai.models/internal/cmd/custom_create.go | Adds --no-wait, switches to async registration, and implements polling/output changes. |
| cli/azd/extensions/azure.ai.models/extension.yaml | Bumps extension version to 0.0.4-preview. |
| cli/azd/extensions/azure.ai.models/version.txt | Bumps extension version marker to 0.0.4-preview. |
| cli/azd/extensions/azure.ai.models/CHANGELOG.md | Adds release notes for 0.0.4-preview. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
saanikaguptamicrosoft
approved these changes
Mar 11, 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 adds support for asynchronous model registration with server-side validation and polling in the Azure AI Foundry custom models extension. Users can now start model registration in async mode, optionally poll for completion, or use a new
--no-waitflag to return immediately with an operation URL for manual status checking. The changes also update the extension version to0.0.4-preview.Async model registration and polling:
custom_create.go, usingRegisterModelAsyncandPollOperationinstead of the previous synchronousRegisterModelmethod. This allows the CLI to poll for registration completion or exit early if--no-waitis specified. [1] [2]--no-waitflag to thecustom createcommand, enabling users to skip polling and receive the operation URL for manual status checks. [1] [2]Version updates and documentation:
0.0.4-previewinextension.yamlandversion.txt, and added a changelog entry describing async registration support. [1] [2] [3]