Skip to content

Commit 2775833

Browse files
committed
Merge branch 'main' of https://github.com/azure/azure-sdk-for-java into sdkauto/azure-resourcemanager-netapp-5575130
2 parents 93a4c0a + ffdaad9 commit 2775833

File tree

26 files changed

+125
-136
lines changed

26 files changed

+125
-136
lines changed

eng/versioning/version_client.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ com.azure:azure-ai-textanalytics-perf;1.0.0-beta.1;1.0.0-beta.1
5858
com.azure:azure-ai-translation-text;1.1.7;1.2.0-beta.1
5959
com.azure:azure-ai-translation-document;1.0.6;1.1.0-beta.1
6060
com.azure:azure-ai-vision-face;1.0.0-beta.2;1.0.0-beta.3
61-
com.azure:azure-ai-voicelive;1.0.0-beta.1;1.0.0-beta.2
61+
com.azure:azure-ai-voicelive;1.0.0-beta.2;1.0.0-beta.3
6262
com.azure:azure-analytics-defender-easm;1.0.0-beta.1;1.0.0-beta.2
6363
com.azure:azure-analytics-purview-datamap;1.0.0-beta.2;1.0.0-beta.3
6464
com.azure:azure-analytics-onlineexperimentation;1.0.0-beta.1;1.0.0-beta.2
@@ -132,7 +132,7 @@ com.azure:azure-health-deidentification;1.0.0;1.1.0-beta.2
132132
com.azure:azure-health-insights-clinicalmatching;1.0.0-beta.1;1.0.0-beta.2
133133
com.azure:azure-health-insights-cancerprofiling;1.0.0-beta.1;1.0.0-beta.2
134134
com.azure:azure-health-insights-radiologyinsights;1.1.5;1.2.0-beta.1
135-
com.azure:azure-identity;1.18.1;1.19.0-beta.1
135+
com.azure:azure-identity;1.18.1;1.19.0-beta.2
136136
com.azure:azure-identity-extensions;1.2.6;1.3.0-beta.1
137137
com.azure:azure-identity-broker;1.1.18;1.2.0-beta.1
138138
com.azure:azure-identity-broker-samples;1.0.0-beta.1;1.0.0-beta.1

sdk/ai/azure-ai-voicelive/CHANGELOG.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
# Release History
22

3-
## 1.0.0-beta.2 (Unreleased)
3+
## 1.0.0-beta.3 (Unreleased)
4+
5+
### Features Added
6+
7+
### Breaking Changes
8+
9+
### Bugs Fixed
10+
11+
### Other Changes
12+
13+
## 1.0.0-beta.2 (2025-11-14)
414

515
### Features Added
616

@@ -15,10 +25,6 @@
1525
- New `ToolType.MCP` for MCP-based tool definitions
1626
- New `ServerEventType` constants for MCP-related events
1727

18-
### Breaking Changes
19-
20-
### Bugs Fixed
21-
2228
### Other Changes
2329

2430
#### Dependency Updates

sdk/ai/azure-ai-voicelive/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Code generated by Microsoft (R) TypeSpec Code Generator.
1414

1515
<groupId>com.azure</groupId>
1616
<artifactId>azure-ai-voicelive</artifactId>
17-
<version>1.0.0-beta.2</version> <!-- {x-version-update;com.azure:azure-ai-voicelive;current} -->
17+
<version>1.0.0-beta.3</version> <!-- {x-version-update;com.azure:azure-ai-voicelive;current} -->
1818
<packaging>jar</packaging>
1919

2020
<name>Microsoft Azure SDK for VoiceLive</name>

sdk/ai/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/MCPApprovalResponseRequestItem.java

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
33
// Code generated by Microsoft (R) TypeSpec Code Generator.
4-
54
package com.azure.ai.voicelive.models;
65

76
import com.azure.core.annotation.Fluent;
@@ -16,6 +15,7 @@
1615
*/
1716
@Fluent
1817
public final class MCPApprovalResponseRequestItem extends ConversationRequestItem {
18+
1919
/*
2020
* The type property.
2121
*/
@@ -36,7 +36,7 @@ public final class MCPApprovalResponseRequestItem extends ConversationRequestIte
3636

3737
/**
3838
* Creates an instance of MCPApprovalResponseRequestItem class.
39-
*
39+
*
4040
* @param approvalRequestId the approvalRequestId value to set.
4141
* @param approve the approve value to set.
4242
*/
@@ -48,7 +48,7 @@ public MCPApprovalResponseRequestItem(String approvalRequestId, boolean approve)
4848

4949
/**
5050
* Get the type property: The type property.
51-
*
51+
*
5252
* @return the type value.
5353
*/
5454
@Generated
@@ -59,7 +59,7 @@ public ItemType getType() {
5959

6060
/**
6161
* Get the approvalRequestId property: The ID of the approval request.
62-
*
62+
*
6363
* @return the approvalRequestId value.
6464
*/
6565
@Generated
@@ -69,7 +69,7 @@ public String getApprovalRequestId() {
6969

7070
/**
7171
* Get the approve property: Whether the tool call was approved.
72-
*
72+
*
7373
* @return the approve value.
7474
*/
7575
@Generated
@@ -103,7 +103,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
103103

104104
/**
105105
* Reads an instance of MCPApprovalResponseRequestItem from the JsonReader.
106-
*
106+
*
107107
* @param jsonReader The JsonReader being read.
108108
* @return An instance of MCPApprovalResponseRequestItem if the JsonReader was pointing to an instance of it, or
109109
* null if it was pointing to JSON null.
@@ -120,7 +120,6 @@ public static MCPApprovalResponseRequestItem fromJson(JsonReader jsonReader) thr
120120
while (reader.nextToken() != JsonToken.END_OBJECT) {
121121
String fieldName = reader.getFieldName();
122122
reader.nextToken();
123-
124123
if ("id".equals(fieldName)) {
125124
id = reader.getString();
126125
} else if ("approval_request_id".equals(fieldName)) {
@@ -137,7 +136,6 @@ public static MCPApprovalResponseRequestItem fromJson(JsonReader jsonReader) thr
137136
= new MCPApprovalResponseRequestItem(approvalRequestId, approve);
138137
deserializedMCPApprovalResponseRequestItem.setId(id);
139138
deserializedMCPApprovalResponseRequestItem.type = type;
140-
141139
return deserializedMCPApprovalResponseRequestItem;
142140
});
143141
}

sdk/ai/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/MCPApprovalType.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
33
// Code generated by Microsoft (R) TypeSpec Code Generator.
4-
54
package com.azure.ai.voicelive.models;
65

76
import com.azure.core.annotation.Generated;
@@ -12,6 +11,7 @@
1211
* The available set of MCP approval types.
1312
*/
1413
public final class MCPApprovalType extends ExpandableStringEnum<MCPApprovalType> {
14+
1515
/**
1616
* Approval is never required.
1717
*/
@@ -26,7 +26,7 @@ public final class MCPApprovalType extends ExpandableStringEnum<MCPApprovalType>
2626

2727
/**
2828
* Creates a new instance of MCPApprovalType value.
29-
*
29+
*
3030
* @deprecated Use the {@link #fromString(String)} factory method.
3131
*/
3232
@Generated
@@ -36,7 +36,7 @@ public MCPApprovalType() {
3636

3737
/**
3838
* Creates or finds a MCPApprovalType from its string representation.
39-
*
39+
*
4040
* @param name a name to look for.
4141
* @return the corresponding MCPApprovalType.
4242
*/
@@ -47,7 +47,7 @@ public static MCPApprovalType fromString(String name) {
4747

4848
/**
4949
* Gets known MCPApprovalType values.
50-
*
50+
*
5151
* @return known MCPApprovalType values.
5252
*/
5353
@Generated

sdk/ai/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/MCPServer.java

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
33
// Code generated by Microsoft (R) TypeSpec Code Generator.
4-
54
package com.azure.ai.voicelive.models;
65

76
import com.azure.core.annotation.Fluent;
@@ -19,6 +18,7 @@
1918
*/
2019
@Fluent
2120
public final class MCPServer extends VoiceLiveToolDefinition {
21+
2222
/*
2323
* The type property.
2424
*/
@@ -63,7 +63,7 @@ public final class MCPServer extends VoiceLiveToolDefinition {
6363

6464
/**
6565
* Creates an instance of MCPServer class.
66-
*
66+
*
6767
* @param serverLabel the serverLabel value to set.
6868
* @param serverUrl the serverUrl value to set.
6969
*/
@@ -75,7 +75,7 @@ public MCPServer(String serverLabel, String serverUrl) {
7575

7676
/**
7777
* Get the type property: The type property.
78-
*
78+
*
7979
* @return the type value.
8080
*/
8181
@Generated
@@ -86,7 +86,7 @@ public ToolType getType() {
8686

8787
/**
8888
* Get the serverLabel property: The server_label property.
89-
*
89+
*
9090
* @return the serverLabel value.
9191
*/
9292
@Generated
@@ -96,7 +96,7 @@ public String getServerLabel() {
9696

9797
/**
9898
* Get the serverUrl property: The server_url property.
99-
*
99+
*
100100
* @return the serverUrl value.
101101
*/
102102
@Generated
@@ -106,7 +106,7 @@ public String getServerUrl() {
106106

107107
/**
108108
* Get the authorization property: The authorization property.
109-
*
109+
*
110110
* @return the authorization value.
111111
*/
112112
@Generated
@@ -116,7 +116,7 @@ public String getAuthorization() {
116116

117117
/**
118118
* Set the authorization property: The authorization property.
119-
*
119+
*
120120
* @param authorization the authorization value to set.
121121
* @return the MCPServer object itself.
122122
*/
@@ -128,7 +128,7 @@ public MCPServer setAuthorization(String authorization) {
128128

129129
/**
130130
* Get the headers property: The headers property.
131-
*
131+
*
132132
* @return the headers value.
133133
*/
134134
@Generated
@@ -138,7 +138,7 @@ public Map<String, String> getHeaders() {
138138

139139
/**
140140
* Set the headers property: The headers property.
141-
*
141+
*
142142
* @param headers the headers value to set.
143143
* @return the MCPServer object itself.
144144
*/
@@ -150,7 +150,7 @@ public MCPServer setHeaders(Map<String, String> headers) {
150150

151151
/**
152152
* Get the allowedTools property: The allowed_tools property.
153-
*
153+
*
154154
* @return the allowedTools value.
155155
*/
156156
@Generated
@@ -160,7 +160,7 @@ public List<String> getAllowedTools() {
160160

161161
/**
162162
* Set the allowedTools property: The allowed_tools property.
163-
*
163+
*
164164
* @param allowedTools the allowedTools value to set.
165165
* @return the MCPServer object itself.
166166
*/
@@ -172,7 +172,7 @@ public MCPServer setAllowedTools(List<String> allowedTools) {
172172

173173
/**
174174
* Get the requireApproval property: The require_approval property.
175-
*
175+
*
176176
* @return the requireApproval value.
177177
*/
178178
@Generated
@@ -182,7 +182,7 @@ public BinaryData getRequireApproval() {
182182

183183
/**
184184
* Set the requireApproval property: The require_approval property.
185-
*
185+
*
186186
* @param requireApproval the requireApproval value to set.
187187
* @return the MCPServer object itself.
188188
*/
@@ -215,7 +215,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
215215

216216
/**
217217
* Reads an instance of MCPServer from the JsonReader.
218-
*
218+
*
219219
* @param jsonReader The JsonReader being read.
220220
* @return An instance of MCPServer if the JsonReader was pointing to an instance of it, or null if it was pointing
221221
* to JSON null.
@@ -235,7 +235,6 @@ public static MCPServer fromJson(JsonReader jsonReader) throws IOException {
235235
while (reader.nextToken() != JsonToken.END_OBJECT) {
236236
String fieldName = reader.getFieldName();
237237
reader.nextToken();
238-
239238
if ("server_label".equals(fieldName)) {
240239
serverLabel = reader.getString();
241240
} else if ("server_url".equals(fieldName)) {
@@ -261,7 +260,6 @@ public static MCPServer fromJson(JsonReader jsonReader) throws IOException {
261260
deserializedMCPServer.headers = headers;
262261
deserializedMCPServer.allowedTools = allowedTools;
263262
deserializedMCPServer.requireApproval = requireApproval;
264-
265263
return deserializedMCPServer;
266264
});
267265
}

0 commit comments

Comments
 (0)