Skip to content

Conversation

@JoshLove-msft
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings November 3, 2025 23:42
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 pull request updates the Azure AI Projects SDK to automatically manage client request IDs instead of requiring them as explicit parameters. The changes remove manual clientRequestId parameters from API methods and instead use the pipeline's auto-generated request ID, simplifying the API surface and improving consistency.

Key Changes:

  • Removed clientRequestId parameter from deployment and connection operation methods
  • Modified request creation to automatically set x-ms-client-request-id header from request.ClientRequestId
  • Updated collection result classes to remove client request ID tracking
  • Added numerous new generated model classes for indexes, datasets, deployments, and connections

Reviewed Changes

Copilot reviewed 8 out of 90 changed files in this pull request and generated no comments.

Show a summary per file
File Description
AIProjectDeploymentsOperations.cs Removed clientRequestId parameter from GetDeployment and GetDeployments methods
AIProjectDeploymentsOperations.RestClient.cs Modified request creation to auto-set client request ID header from pipeline
AIProjectConnectionsOperations.cs Removed clientRequestId parameter from GetConnection and GetConnections methods
AIProjectConnectionsOperations.RestClient.cs Modified request creation to auto-set client request ID header from pipeline
AIProjectCollectionResult.cs Removed clientRequestId field and parameter from collection result classes
UnknownAIProject*.cs Added unknown variant classes for polymorphic deserialization of indexes, deployments, datasets, and credentials
Paged*.cs Added pagination support classes for indexes, deployments, datasets, and connections
AIProjectIndex*.cs Added index model classes for Azure AI Search, Cosmos DB, and managed search indexes
AIProjectDataset*.cs Added dataset model classes for file and folder datasets
AIProjectDeployment*.cs Added deployment model classes including ModelDeployment and related types
ConnectionType.cs, CredentialType.cs, etc. Added enum-like structs for various type discriminators

@github-actions
Copy link

github-actions bot commented Nov 4, 2025

API Change Check

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

Azure.AI.Projects

@JoshLove-msft JoshLove-msft merged commit 189c6ce into Azure:main Nov 4, 2025
17 checks passed
nick863 pushed a commit that referenced this pull request Nov 5, 2025
* Prep for release

* regen

* Update assets

* api

* regen
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.

3 participants