Skip to content

[AI] [Agents] typespec update#41069

Merged
jhakulin merged 5 commits intomainfrom
glharper/agents-ai-search-update-0513
May 14, 2025
Merged

[AI] [Agents] typespec update#41069
jhakulin merged 5 commits intomainfrom
glharper/agents-ai-search-update-0513

Conversation

@glharper
Copy link
Member

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:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

Copilot AI review requested due to automatic review settings May 13, 2025 19:17
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 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

@github-actions
Copy link

github-actions bot commented May 13, 2025

API Change Check

APIView identified API level changes in this PR and created the following API reviews

azure-ai-agents

@glharper glharper requested review from M-Hietala and howieleung May 13, 2025 22:23
@jhakulin jhakulin merged commit 0eee84a into main May 14, 2025
20 checks passed
@jhakulin jhakulin deleted the glharper/agents-ai-search-update-0513 branch May 14, 2025 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants