Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
1640d63
regen projects
kaylieee Jun 17, 2026
7c0a217
regen agents
kaylieee Jun 17, 2026
0e2a8ed
update samples and tests
kaylieee Jun 18, 2026
cd05d88
temp disable tests pending re-record
kaylieee Jun 19, 2026
8c01a67
Merge branch 'main' into kaylieee/release/2.2.0
kaylieee Jun 19, 2026
3750b44
projects beta annotations
kaylieee Jun 19, 2026
3c6e73e
agents beta annotations
kaylieee Jun 19, 2026
5af2dd1
update samples
kaylieee Jun 19, 2026
63944ff
add spelling exception
kaylieee Jun 19, 2026
cc5dcc3
spacing
kaylieee Jun 19, 2026
af99455
beta annotations for optimizations models
kaylieee Jun 19, 2026
7b7595e
Merge branch 'main' into kaylieee/release/2.2.0
jpalvarezl Jun 22, 2026
ed685fd
Added missing imports
jpalvarezl Jun 22, 2026
66a3d32
Formatting and code regen
jpalvarezl Jun 22, 2026
1b3df1d
Revapi report (#49585)
jpalvarezl Jun 24, 2026
fd66a08
update run status to be string
kaylieee Jun 23, 2026
d423350
add searchMemoriesWithResponse methods
kaylieee Jun 24, 2026
7aa0d0d
unabbreviate evalId
kaylieee Jun 24, 2026
00a90ea
renames
kaylieee Jun 24, 2026
34d3800
regen
kaylieee Jun 25, 2026
c84a69b
Merge branch 'main' into kaylieee/release/2.2.0
kaylieee Jun 26, 2026
d22e1a4
toolbox renames
kaylieee Jun 26, 2026
c6e0bb0
fix samples and tests
kaylieee Jun 26, 2026
9f8115d
Sample parity with C# (#49633)
jpalvarezl Jun 26, 2026
0ab5433
add version for revapi dependency
kaylieee Jun 26, 2026
c469165
Convenience methods for file operations for sessions and code agents …
jpalvarezl Jun 26, 2026
f7260a4
suppress empty models
kaylieee Jun 26, 2026
cb8386f
update binary data and tests
kaylieee Jun 26, 2026
7af87fb
regen
kaylieee Jun 26, 2026
8dbaf56
new beta annotations
kaylieee Jun 27, 2026
167594c
Endpoint variant for evaluators
jpalvarezl Jun 29, 2026
4b153ed
removed stale documentation
jpalvarezl Jun 29, 2026
71c7a86
README and CHANGELOG updates
jpalvarezl Jun 29, 2026
068ef63
revapi exceptions
jpalvarezl Jun 29, 2026
58f6513
Hiding tsp-location files
jpalvarezl Jun 29, 2026
b0ddd0c
Updated version for release
jpalvarezl Jun 29, 2026
60b0fbf
Added documentation for beta related builder methods
jpalvarezl Jun 30, 2026
389f2eb
README updates
jpalvarezl Jun 30, 2026
ebac17a
Latest spec changes: remove reminderPreviewTool and renamed method param
jpalvarezl Jul 1, 2026
abcc8f5
added convenience method for code agents
jpalvarezl Jul 1, 2026
d3ebc61
Unit tests for sha util
jpalvarezl Jul 1, 2026
685096f
Latest spec commit
jpalvarezl Jul 1, 2026
b485064
tests
jpalvarezl Jul 1, 2026
2072908
Adjusted changelog entry date
jpalvarezl Jul 1, 2026
e12294e
Hiding tsp-location files
jpalvarezl Jul 1, 2026
9a1f269
Permissive failure on customization class resource not found
jpalvarezl Jul 1, 2026
e34d97b
Added more robust file localization strat to account for CI runs
jpalvarezl Jul 1, 2026
60d10a4
Adjusted text
jpalvarezl Jul 1, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sdk/ai/azure-ai-agents/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ The synchronous session log method returns `IterableStream<SessionLogEvent>`, wh

```java com.azure.ai.agents.session_logs_sync
IterableStream<SessionLogEvent> sessionLogs =
betaAgentsClient.getSessionLogStream(agentName, agentVersion, sessionId);
agentsClient.getSessionLogStream(agentName, agentVersion, sessionId);

int logsRead = 0;
for (SessionLogEvent event : sessionLogs) {
Expand All @@ -741,7 +741,7 @@ for (SessionLogEvent event : sessionLogs) {
The asynchronous session log method returns `Flux<SessionLogEvent>`, integrating naturally with Reactor pipelines:

```java com.azure.ai.agents.session_logs_async
betaAgentsAsyncClient.getSessionLogStream(agentName, agentVersion, sessionId)
agentsAsyncClient.getSessionLogStream(agentName, agentVersion, sessionId)
.take(100)
.doOnNext(event -> System.out.printf("[%s] %s%n", event.getEvent(), event.getData()))
.blockLast();
Expand Down

Large diffs are not rendered by default.

1,736 changes: 1,736 additions & 0 deletions sdk/ai/azure-ai-agents/src/main/java/com/azure/ai/agents/AgentsClient.java

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@
@ServiceClientBuilder(
serviceClients = {
BetaMemoryStoresClient.class,
BetaToolboxesClient.class,
BetaAgentsClient.class,
AgentsClient.class,
ToolboxesClient.class,
BetaMemoryStoresAsyncClient.class,
BetaToolboxesAsyncClient.class,
BetaAgentsAsyncClient.class,
AgentsAsyncClient.class })
AgentsAsyncClient.class,
ToolboxesAsyncClient.class })
public final class AgentsClientBuilder
implements HttpTrait<AgentsClientBuilder>, ConfigurationTrait<AgentsClientBuilder>,
TokenCredentialTrait<AgentsClientBuilder>, EndpointTrait<AgentsClientBuilder> {
Expand All @@ -85,14 +85,12 @@ public final class AgentsClientBuilder

private static final String AGENT_PREVIEW_FEATURES = Stream
.concat(Arrays.stream(AgentDefinitionOptInKeys.values()).map(AgentDefinitionOptInKeys::toString),
Stream.of(FoundryFeaturesOptInKeys.AGENTS_OPTIMIZATION_V1_PREVIEW.toString()))
Stream.of(FoundryFeaturesOptInKeys.AGENTS_OPTIMIZATION_V2_PREVIEW.toString()))
.collect(Collectors.joining(","));

private static final String MEMORY_STORES_PREVIEW_FEATURES
= FoundryFeaturesOptInKeys.MEMORY_STORES_V1_PREVIEW.toString();

private static final String TOOLBOXES_PREVIEW_FEATURES = FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW.toString();

private boolean allowPreview;

@Generated
Expand Down Expand Up @@ -540,10 +538,8 @@ public BetaAgentsClientBuilder beta() {
serviceClients = {
BetaAgentsClient.class,
BetaMemoryStoresClient.class,
BetaToolboxesClient.class,
BetaAgentsAsyncClient.class,
BetaMemoryStoresAsyncClient.class,
BetaToolboxesAsyncClient.class })
BetaMemoryStoresAsyncClient.class })
public final class BetaAgentsClientBuilder {

/**
Expand Down Expand Up @@ -571,15 +567,6 @@ public BetaMemoryStoresAsyncClient buildBetaMemoryStoresAsyncClient() {
buildInnerClient(MEMORY_STORES_PREVIEW_FEATURES).getBetaMemoryStores());
}

/**
* Builds an instance of BetaToolboxesAsyncClient class.
*
* @return an instance of BetaToolboxesAsyncClient.
*/
public BetaToolboxesAsyncClient buildBetaToolboxesAsyncClient() {
return new BetaToolboxesAsyncClient(buildInnerClient(TOOLBOXES_PREVIEW_FEATURES).getBetaToolboxes());
}

/**
* Builds an instance of BetaAgentsClient class.
*
Expand All @@ -597,15 +584,6 @@ public BetaAgentsClient buildBetaAgentsClient() {
public BetaMemoryStoresClient buildBetaMemoryStoresClient() {
return new BetaMemoryStoresClient(buildInnerClient(MEMORY_STORES_PREVIEW_FEATURES).getBetaMemoryStores());
}

/**
* Builds an instance of BetaToolboxesClient class.
*
* @return an instance of BetaToolboxesClient.
*/
public BetaToolboxesClient buildBetaToolboxesClient() {
return new BetaToolboxesClient(buildInnerClient(TOOLBOXES_PREVIEW_FEATURES).getBetaToolboxes());
}
}

/**
Expand All @@ -626,15 +604,6 @@ private BetaMemoryStoresAsyncClient buildBetaMemoryStoresAsyncClient() {
return new BetaMemoryStoresAsyncClient(buildInnerClient(MEMORY_STORES_PREVIEW_FEATURES).getBetaMemoryStores());
}

/**
* Builds an instance of BetaToolboxesAsyncClient class.
*
* @return an instance of BetaToolboxesAsyncClient.
*/
private BetaToolboxesAsyncClient buildBetaToolboxesAsyncClient() {
return new BetaToolboxesAsyncClient(buildInnerClient(TOOLBOXES_PREVIEW_FEATURES).getBetaToolboxes());
}

/**
* Builds an instance of BetaAgentsClient class.
*
Expand All @@ -654,11 +623,22 @@ private BetaMemoryStoresClient buildBetaMemoryStoresClient() {
}

/**
* Builds an instance of BetaToolboxesClient class.
* Builds an instance of ToolboxesAsyncClient class.
*
* @return an instance of BetaToolboxesClient.
* @return an instance of ToolboxesAsyncClient.
*/
private BetaToolboxesClient buildBetaToolboxesClient() {
return new BetaToolboxesClient(buildInnerClient(TOOLBOXES_PREVIEW_FEATURES).getBetaToolboxes());
@Generated
public ToolboxesAsyncClient buildToolboxesAsyncClient() {
return new ToolboxesAsyncClient(buildInnerClient().getToolboxes());
}

/**
* Builds an instance of ToolboxesClient class.
*
* @return an instance of ToolboxesClient.
*/
@Generated
public ToolboxesClient buildToolboxesClient() {
return new ToolboxesClient(buildInnerClient().getToolboxes());
}
}
Loading
Loading