Skip to content

Conversation

@jpalvarezl
Copy link
Member

@jpalvarezl jpalvarezl commented Jan 21, 2026

  • Emitting from the latest spec for AI-Foundry
  • Pending resolution of this PR for name customizations

This pull request refactors and simplifies the Azure AI Agents Java SDK by removing custom enum renaming logic, updating request order types, and consolidating pagination methods for listing agents and agent versions. The changes also include some cleanup of configuration files and method signatures.

Key changes include:

API and Model Refactoring

  • Replaced the use of ListAgentsRequestOrder with a more generic PageOrder type for ordering paginated results in both AgentsAsyncClient and AgentsClient, simplifying method signatures and imports. [1] [2]
  • Removed the custom enum renaming logic for ImageGenToolSize and ComputerActionType in AgentsCustomizations.java, making the customization method a no-op and reducing maintenance overhead.

Method Consolidation and Cleanup

  • Removed duplicate and redundant listAgents and listAgentVersions methods that previously accepted the old order type, and replaced them with updated versions that use PageOrder. This streamlines the API and reduces confusion. [1] [2]
  • Added new listAgents and listAgentVersions methods to both clients, now accepting the updated PageOrder type and providing improved pagination and filtering capabilities.

Configuration Cleanup

  • Cleaned up the _tsp-location.yaml configuration by removing unnecessary directory and commit references, which helps keep the build configuration up to date.

@github-actions github-actions bot added the AI label Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants