You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Libraries/Microsoft.Extensions.AI.Abstractions/Contents/ToolApprovalRequestContent.cs
+6-46Lines changed: 6 additions & 46 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,6 @@
2
2
// The .NET Foundation licenses this file to you under the MIT license.
3
3
4
4
usingSystem;
5
-
usingSystem.ComponentModel;
6
5
usingSystem.Text.Json.Serialization;
7
6
usingMicrosoft.Shared.Diagnostics;
8
7
@@ -16,49 +15,16 @@ public sealed class ToolApprovalRequestContent : InputRequestContent
16
15
/// <summary>
17
16
/// Initializes a new instance of the <see cref="ToolApprovalRequestContent"/> class.
18
17
/// </summary>
19
-
/// <param name="requestId">The unique identifier that correlates this request with its corresponding response. This may differ from the <see cref="ToolCallContent.CallId"/> of the specified <paramref name="functionCall"/>.</param>
20
-
/// <param name="functionCall">The function call that requires approval before execution.</param>
21
-
/// <exception cref="ArgumentNullException"><paramref name="requestId"/> is <see langword="null"/>.</exception>
22
-
/// <exception cref="ArgumentException"><paramref name="requestId"/> is empty or composed entirely of whitespace.</exception>
23
-
/// <exception cref="ArgumentNullException"><paramref name="functionCall"/> is <see langword="null"/>.</exception>
/// Initializes a new instance of the <see cref="ToolApprovalRequestContent"/> class.
32
-
/// </summary>
33
-
/// <param name="requestId">The unique identifier that correlates this request with its corresponding response. This may differ from the <see cref="ToolCallContent.CallId"/> of the specified <paramref name="mcpServerToolCall"/>.</param>
34
-
/// <param name="mcpServerToolCall">The MCP server tool call that requires approval before execution.</param>
35
-
/// <exception cref="ArgumentNullException"><paramref name="requestId"/> is <see langword="null"/>.</exception>
36
-
/// <exception cref="ArgumentException"><paramref name="requestId"/> is empty or composed entirely of whitespace.</exception>
37
-
/// <exception cref="ArgumentNullException"><paramref name="mcpServerToolCall"/> is <see langword="null"/>.</exception>
0 commit comments