Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR updates the type specifications related to error handling and search resources for the Agents SDK while removing the deprecated ServicePatternsOperations usage.
- Update commit reference in the tsp-location.yaml file
- Introduce AgentV1Error and AgentV1ErrorError classes and update AISearchIndexResource to use Optional types
- Remove ServicePatternsOperations from both asynchronous and synchronous client implementations and update API view mappings accordingly
Reviewed Changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| sdk/ai/azure-ai-agents/tsp-location.yaml | Updates commit hash with minor formatting adjustment |
| sdk/ai/azure-ai-agents/azure/ai/agents/models/_models.py | Adds error model classes and updates resource field types |
| sdk/ai/azure-ai-agents/azure/ai/agents/models/init.py | Exports the newly added error models |
| sdk/ai/azure-ai-agents/azure/ai/agents/aio/_client.py | Removes ServicePatternsOperations usage |
| sdk/ai/azure-ai-agents/azure/ai/agents/_client.py | Removes ServicePatternsOperations usage |
| sdk/ai/azure-ai-agents/apiview-properties.json | Adjusts model mappings for error handling |
Co-authored-by: Copilot <[email protected]>
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
nick863
approved these changes
May 13, 2025
jhakulin
reviewed
May 14, 2025
jhakulin
reviewed
May 14, 2025
added 2 commits
May 13, 2025 23:38
jhakulin
approved these changes
May 14, 2025
dargilco
approved these changes
May 14, 2025
M-Hietala
approved these changes
May 14, 2025
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.
Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines