Skip to content

Model ext enhancement#7279

Merged
achauhan-scc merged 9 commits intoAzure:mainfrom
achauhan-scc:model-enhancement
Mar 24, 2026
Merged

Model ext enhancement#7279
achauhan-scc merged 9 commits intoAzure:mainfrom
achauhan-scc:model-enhancement

Conversation

@achauhan-scc
Copy link
Member

This pull request updates the azure.ai.models extension to version 0.0.5-preview and focuses on improving the user experience when encountering permission errors during the custom model creation process. The most significant change is enhanced error handling for 403 (Forbidden) errors, providing users with clearer guidance and links to relevant documentation. Other changes include version updates across related files.

Error handling improvements:

  • Improved error handling for 403 (Forbidden) errors during custom create uploads in custom_create.go. The new logic displays a clear error message, guidance on required roles, and links to prerequisites and RBAC documentation to help users resolve permission issues.

Version updates:

  • Bumped extension version to 0.0.5-preview in extension.yaml, version.txt, and added a corresponding entry to the CHANGELOG.md. [1] [2] [3]

achauhan-scc and others added 9 commits March 12, 2026 15:33
…ure#7278)

Improved error handling for 403 (Forbidden) during custom create upload.
Users now see a clear message about required roles with links to
prerequisites and RBAC documentation.

Bumped version to 0.0.5-preview.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR bumps the azure.ai.models azd extension to 0.0.5-preview and improves the user experience for permission-related failures during azd ai models custom create, adding more explicit guidance when the upload location request fails with 403 (Forbidden).

Changes:

  • Add a dedicated 403-handling branch in custom_create.go with guidance and documentation links.
  • Bump extension version to 0.0.5-preview (version.txt, extension.yaml).
  • Add a 0.0.5-preview entry to the extension CHANGELOG.md.

Reviewed changes

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

File Description
cli/azd/extensions/azure.ai.models/internal/cmd/custom_create.go Adds special-case output and guidance for 403 errors when requesting an upload location.
cli/azd/extensions/azure.ai.models/version.txt Updates extension version string to 0.0.5-preview.
cli/azd/extensions/azure.ai.models/extension.yaml Updates extension manifest version to 0.0.5-preview.
cli/azd/extensions/azure.ai.models/CHANGELOG.md Adds release note entry for 0.0.5-preview describing the 403 UX improvement.

@achauhan-scc achauhan-scc enabled auto-merge (squash) March 24, 2026 08:47
@achauhan-scc achauhan-scc merged commit 1189d0b into Azure:main Mar 24, 2026
21 checks passed
github-actions bot added a commit to weikanglim/azure-dev that referenced this pull request Mar 24, 2026
- Update cli/version.txt to 1.23.12 (released 2026-03-24)
- Add 1.23.12 changelog entry: revert -e flag regression, telemetry fixes (Azure#7276)
- Add 1.23.11 changelog entry: --timeout flag, Copilot init improvements,
  security fixes, CopilotService gRPC extension (Azure#7221)
- Update azure.ai.agents to 0.1.18-preview
- Add 0.1.18-preview changelog: azd ai agent init from template (Azure#7147/Azure#7256)
- Add 0.1.17-preview changelog: banner, container settings (Azure#7225)
- Add 0.1.16-preview changelog: files command group, security hardening,
  breaking change to show/monitor commands (Azure#7190)
- Create cli/azd/extensions/azure.ai.agents/AGENTS.md with contributor
  guidance, error handling conventions, and release preparation steps (Azure#7111/Azure#7225)
- Update azure.ai.models to 0.0.5-preview
- Add 0.0.5-preview changelog: improved 403 error handling (Azure#7279)
- Add Error Handling in Extensions section to extensions-style-guide.md (Azure#7111)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

Better handling for 403 response

3 participants