Python: Update the AzureAIAgent packages, types, and APIs based on Azure SDK's new code#12084
Merged
moonbox3 merged 25 commits intomicrosoft:mainfrom May 19, 2025
Merged
Conversation
Member
Python Unit Test Overview
|
TaoChenOSU
approved these changes
May 15, 2025
alliscode
approved these changes
May 15, 2025
TaoChenOSU
approved these changes
May 16, 2025
crickman
approved these changes
May 16, 2025
moonbox3
commented
May 16, 2025
Collaborator
Author
moonbox3
left a comment
There was a problem hiding this comment.
Waiting for a response from the Azure SDK team about some updates related to this. Holding off for now.
…-kernel into py-update-azureaiagent
moonbox3
commented
May 16, 2025
TaoChenOSU
reviewed
May 16, 2025
python/samples/getting_started_with_agents/azure_ai_agent/README.md
Outdated
Show resolved
Hide resolved
TaoChenOSU
reviewed
May 16, 2025
…-kernel into py-update-azureaiagent
…-kernel into py-update-azureaiagent
python/samples/concepts/agents/azure_ai_agent/azure_ai_agent_declarative_openapi.py
Outdated
Show resolved
Hide resolved
eavanvalkenburg
approved these changes
May 19, 2025
…-kernel into py-update-azureaiagent
TaoChenOSU
approved these changes
May 19, 2025
jcruzmot-te
pushed a commit
to thousandeyes/aia-semantic-kernel
that referenced
this pull request
Sep 15, 2025
…ure SDK's new code (microsoft#12084) ### Motivation and Context The Azure AI Agent Service is moving to GA soon. As part of that, they've made several changes in the underlying APIs, which require the use of new packages, updated type imports and some new underlying APIs. This PR updates the AzureAIAgent to use the latest Azure SDK's new code. - The client's connection string has been replaced with an endpoint. - The `AzureAIAgentSettings`'s `model_deployment_name` was updated to `deployment_name`. - Tools are now imported from `from azure.ai.agents.models` instead of `from azure.ai.projects.models`. - Declarative spec handling for AzureAIAgent was updated based on the new APIs. - Unit tests were updated. <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> ### Description Update the AzureAIAgent related code, samples and tests based on the Azure SDK's latest APIs. - Closes microsoft#12177 <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [X] The code builds clean without any errors or warnings - [X] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [X] All unit tests pass, and I have added new tests where possible - [ ] I didn't break anyone 😄 --------- Co-authored-by: Tao Chen <taochen@microsoft.com>
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.
Motivation and Context
The Azure AI Agent Service is moving to GA soon. As part of that, they've made several changes in the underlying APIs, which require the use of new packages, updated type imports and some new underlying APIs. This PR updates the AzureAIAgent to use the latest Azure SDK's new code.
AzureAIAgentSettings'smodel_deployment_namewas updated todeployment_name.from azure.ai.agents.modelsinstead offrom azure.ai.projects.models.Description
Update the AzureAIAgent related code, samples and tests based on the Azure SDK's latest APIs.
Contribution Checklist