Skip to content

[Agents Extension] Update cognitiveservices library dependency#6957

Merged
trangevi merged 1 commit intomainfrom
trangevi/dependency-update
Mar 2, 2026
Merged

[Agents Extension] Update cognitiveservices library dependency#6957
trangevi merged 1 commit intomainfrom
trangevi/dependency-update

Conversation

@trangevi
Copy link
Member

@trangevi trangevi commented Mar 2, 2026

No description provided.

Signed-off-by: trangevi <trangevi@microsoft.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

Updates the Azure AI Agents extension to use the v2 major version of the Azure Resource Manager Cognitive Services SDK module, aligning imports and module dependencies accordingly.

Changes:

  • Switched Go imports from armcognitiveservices v1 module path to armcognitiveservices/v2.
  • Updated go.mod to require armcognitiveservices/v2 v2.0.0.
  • Updated go.sum entries to reflect the v2 module checksums.

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
cli/azd/extensions/azure.ai.agents/internal/project/service_target_agent.go Updates ARM Cognitive Services import to the v2 module path.
cli/azd/extensions/azure.ai.agents/internal/project/parser.go Updates ARM Cognitive Services import to the v2 module path.
cli/azd/extensions/azure.ai.agents/internal/cmd/init_models.go Updates ARM Cognitive Services import to the v2 module path.
cli/azd/extensions/azure.ai.agents/internal/cmd/init_from_code.go Updates ARM Cognitive Services import to the v2 module path.
cli/azd/extensions/azure.ai.agents/internal/cmd/init.go Updates ARM Cognitive Services import to the v2 module path.
cli/azd/extensions/azure.ai.agents/go.mod Bumps dependency to armcognitiveservices/v2 v2.0.0.
cli/azd/extensions/azure.ai.agents/go.sum Replaces v1 sums with v2 sums for the dependency bump.

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

@trangevi trangevi merged commit 364a2ea into main Mar 2, 2026
23 checks passed
@rajeshkamal5050 rajeshkamal5050 mentioned this pull request Mar 4, 2026
@JeffreyCA JeffreyCA linked an issue Mar 5, 2026 that may be closed by this pull request
1 task
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.

azd init fail when using existing project-id

5 participants