1 write to CallId
Microsoft.Extensions.AI.Abstractions (1)
Contents\ToolCallContent.cs (1)
27CallId = Throw.IfNull(callId);
225 references to CallId
Microsoft.Extensions.AI (24)
ChatCompletion\FunctionInvokingChatClient.cs (12)
921/// if there is a matching <see cref="FunctionResultContent"/> with the same <see cref="ToolCallContent.CallId"/> in the same set of messages, 954if (contents[j] is FunctionCallContent fcc && !fcc.InformationalOnly && resultCallIds.Contains(fcc.CallId)) 964/// if there is a matching <see cref="FunctionResultContent"/> with the same <see cref="ToolCallContent.CallId"/>, regardless of order. 999if (resultCallIds.Contains(functionCallContents[i].CallId)) 1287frc.CallId == result.CallContent.CallId) 1311return new FunctionResultContent(result.CallContent.CallId, functionResult) { Exception = result.Exception }; 1454_ = (approvalRequestCallIds ??= []).Add(tarc.ToolCall.CallId); 1460_ = approvalRequestCallIds?.Remove(tarc.ToolCall.CallId); 1519if (approvalResponse.ToolCall is not FunctionCallContent fcc || functionResultCallIds?.Contains(fcc.CallId) is true) 1567return (AIContent)new FunctionResultContent(m.ResponseFunctionCallContent.CallId, result); 1722updatedContent[i] = new ToolApprovalRequestContent(ComposeApprovalRequestId(fcc.CallId), fcc) 1790message.Contents[contentIndex] = new ToolApprovalRequestContent(ComposeApprovalRequestId(functionCall.CallId), functionCall)
ChatCompletion\ImageGeneratingChatClient.cs (4)
336newContents.Add(new ImageGenerationToolCallContent(functionCall.CallId)); 373var callId = FunctionInvokingChatClient.CurrentContext?.CallContent.CallId; 408var callId = FunctionInvokingChatClient.CurrentContext?.CallContent.CallId; 426var callId = FunctionInvokingChatClient.CurrentContext?.CallContent.CallId;
Common\FunctionInvocationProcessor.cs (1)
167new(OpenTelemetryConsts.GenAI.Tool.Call.Id, context.CallContent.CallId),
Common\OtelMessageSerializer.cs (4)
80Id = fcc.CallId, 136Id = citcc.CallId, 159Id = igtcc.CallId, 179Id = mstcc.CallId,
Realtime\FunctionInvokingRealtimeClientSession.cs (1)
382var functionResultContent = new FunctionResultContent(result.CallContent.CallId, resultValue)
Realtime\OpenTelemetryRealtimeClientSession.cs (2)
542Id = fcc.CallId, 599Id = mstcc.CallId,
Microsoft.Extensions.AI.Abstractions (15)
ChatCompletion\ChatResponseExtensions.cs (6)
244if (webSearchCallIndexById.TryGetValue(webSearchCall.CallId, out int existingIndex)) 254contents[existingIndex] = new WebSearchToolCallContent(existing.CallId) 270webSearchCallIndexById[webSearchCall.CallId] = i; 351canMerge: static (r1, r2) => r1.CallId == r2.CallId, 378return new(firstContent.CallId)
Contents\FunctionCallContent.cs (2)
114if (CallId is not null) 116display += $"{CallId}, ";
Contents\ToolResultContent.cs (1)
35/// <see cref="ToolCallContent.CallId"/> value.
Generated\361d1da7f942c932\JsonContext.CodeInterpreterToolCallContent.g.cs (1)
80Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Generated\361d1da7f942c932\JsonContext.ImageGenerationToolCallContent.g.cs (1)
60Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.FunctionCallContent.g.cs (1)
141Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.McpServerToolCallContent.g.cs (1)
121Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.ToolCallContent.g.cs (1)
60Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.WebSearchToolCallContent.g.cs (1)
80Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Microsoft.Extensions.AI.Abstractions.Tests (60)
AssertExtensions.cs (4)
54Assert.Equal(expectedApprovalRequest.ToolCall.CallId, actualApprovalRequest.ToolCall.CallId); 63Assert.Equal(expectedApprovalResponse.ToolCall.CallId, actualApprovalResponse.ToolCall.CallId);
ChatCompletion\ChatMessageTests.cs (2)
329Assert.Equal("function-id", functionCallContent.CallId); 388Assert.Equal("call1", funcCall.CallId);
ChatCompletion\ChatResponseUpdateExtensionsTests.cs (3)
1047var ws1 = webSearchCalls.First(ws => ws.CallId == "ws1"); 1055var ws2 = webSearchCalls.First(ws => ws.CallId == "ws2"); 1075Assert.Equal("ws1", ws1.CallId);
Contents\CodeInterpreterToolCallContentTests.cs (4)
18Assert.Equal("callId1", c.CallId); 27Assert.Equal("call123", c.CallId); 81Assert.Equal("call123", deserializedSut.CallId); 113Assert.Equal("ci-call1", ciCall.CallId);
Contents\FunctionCallContentTests.cs (12)
26Assert.Equal("callId1", c.CallId); 45Assert.Equal("id", c.CallId); 64Assert.Equal("callId1", c.CallId); 124Assert.Equal("callId1", deserialized.CallId); 137Assert.Equal("callId1", deserialized.CallId); 153Assert.Equal(original.CallId, deserialized.CallId); 172Assert.Equal("callId1", deserializedSut.CallId); 392Assert.Equal("callId", content.CallId); 429Assert.Equal(content.CallId, deserializedContent.CallId); 459Assert.Equal("call123", funcCall.CallId);
Contents\ImageGenerationToolCallContentTests.cs (5)
17Assert.Equal("call123", c.CallId); 25Assert.Equal("img123", c.CallId); 47Assert.Equal("img123", deserializedSut.CallId); 63Assert.Equal("img456", ((ImageGenerationToolCallContent)deserialized).CallId); 83Assert.Equal("img-call1", imgCall.CallId);
Contents\InputRequestContentTests.cs (1)
90Assert.Equal("call1", funcCall.CallId);
Contents\InputResponseContentTests.cs (1)
92Assert.Equal("call1", funcCall.CallId);
Contents\McpServerToolCallContentTests.cs (5)
21Assert.Equal("callId1", c.CallId); 47Assert.Equal("callId1", c.CallId); 82Assert.Equal(content.CallId, deserializedContent.CallId); 112Assert.Equal("call1", mcpCall.CallId);
Contents\ToolApprovalRequestContentTests.cs (3)
99Assert.Equal(content.ToolCall.CallId, deserializedContent.ToolCall.CallId); 128Assert.Equal("call1", funcCall.CallId);
Contents\ToolApprovalResponseContentTests.cs (5)
73Assert.Equal(content.ToolCall.CallId, deserializedContent.ToolCall.CallId); 96Assert.Equal(content.ToolCall.CallId, functionCall.CallId); 128Assert.Equal("call1", funcCall.CallId);
Contents\ToolCallContentTests.cs (3)
18Assert.Equal("callId1", c.CallId); 44Assert.Equal("callId1", c.CallId); 102Assert.Equal("tc1", toolCall.CallId);
Contents\WebSearchToolCallContentTests.cs (5)
17Assert.Equal("callId", c.CallId); 26Assert.Equal("ws_call123", c.CallId); 56Assert.Equal("ws_call123", deserialized.CallId); 72Assert.Equal("ws_call456", result.CallId); 94Assert.Equal("ws-call1", wsCall.CallId);
Generated\361d1da7f942c932\TestJsonSerializerContext.CodeInterpreterToolCallContent.g.cs (1)
78Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Generated\361d1da7f942c932\TestJsonSerializerContext.FunctionCallContent.g.cs (1)
139Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Generated\361d1da7f942c932\TestJsonSerializerContext.ImageGenerationToolCallContent.g.cs (1)
58Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Generated\361d1da7f942c932\TestJsonSerializerContext.McpServerToolCallContent.g.cs (1)
119Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Generated\361d1da7f942c932\TestJsonSerializerContext.ToolCallContent.g.cs (1)
58Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Generated\361d1da7f942c932\TestJsonSerializerContext.WebSearchToolCallContent.g.cs (1)
78Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.DerivedToolCallContent.g.cs (1)
80Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Microsoft.Extensions.AI.Evaluation.Reporting (6)
Generated\361d1da7f942c932\JsonContext.CodeInterpreterToolCallContent.g.cs (1)
80Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Generated\361d1da7f942c932\JsonContext.ImageGenerationToolCallContent.g.cs (1)
60Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.FunctionCallContent.g.cs (1)
141Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.McpServerToolCallContent.g.cs (1)
121Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.ToolCallContent.g.cs (1)
60Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.WebSearchToolCallContent.g.cs (1)
80Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (6)
Generated\361d1da7f942c932\JsonContext.CodeInterpreterToolCallContent.g.cs (1)
80Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Generated\361d1da7f942c932\JsonContext.ImageGenerationToolCallContent.g.cs (1)
60Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.FunctionCallContent.g.cs (1)
141Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.McpServerToolCallContent.g.cs (1)
121Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.ToolCallContent.g.cs (1)
60Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.WebSearchToolCallContent.g.cs (1)
80Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Microsoft.Extensions.AI.Integration.Tests (1)
PromptBasedFunctionCallingChatClient.cs (1)
76var toolCallJson = JsonSerializer.Serialize(new { fcc.CallId, fcc.Name, fcc.Arguments }, _jsonOptions);
Microsoft.Extensions.AI.OpenAI (6)
MicrosoftExtensionsAIChatExtensions.cs (2)
74.OfType<FunctionCallContent>().Select(c => ChatToolCall.CreateFunctionToolCall(c.CallId, c.Name, 158fcc.CallId,
OpenAIChatClient.cs (1)
219ChatToolCall.CreateFunctionToolCall(fc.CallId, fc.Name, new(JsonSerializer.SerializeToUtf8Bytes(
OpenAIRealtimeClientSession.cs (1)
652functionCall.CallId ?? string.Empty,
OpenAIResponsesChatClient.cs (2)
1575(idToContentMapping ??= [])[mstcc.CallId] = mstcc; 1580callContent.CallId,
Microsoft.Extensions.AI.OpenAI.Tests (54)
OpenAIAssistantChatClientIntegrationTests.cs (2)
68if (toolCallContent.CallId is not null) 70Assert.NotEmpty(toolCallContent.CallId);
OpenAIChatClientTests.cs (1)
1349Assert.Equal("call_F9ZaqPWo69u0urxAhVt8meDW", fcc.CallId);
OpenAIConversionTests.cs (18)
1021Assert.Equal("call_abc", fcc.CallId); 1027Assert.Equal("mcp_call_123", mcpToolCallContent.CallId); 1059Assert.Equal("mcpr_123", correlatedMcpCall.CallId); 1068Assert.Equal("ws_123", wsToolCall.CallId); 1080Assert.Equal("fs_123", fsToolCall.CallId); 1091Assert.Equal("call_456", cuToolCall.CallId); 1239Assert.Equal("call123", functionCall.CallId); 1320Assert.Equal("call_abc", functionCallContent.CallId); 1335McpServerToolCallContent? mcpToolCall = message.Contents.OfType<McpServerToolCallContent>().FirstOrDefault(c => c.CallId == "mcp_call_123"); 1337Assert.Equal("mcp_call_123", mcpToolCall.CallId); 1372Assert.Equal("mcpr_123", correlatedMcpCall.CallId); 1379WebSearchToolCallContent? webSearchToolCall = message.Contents.OfType<WebSearchToolCallContent>().FirstOrDefault(c => c.CallId == "ws_123"); 1388ToolCallContent? fileSearchToolCall = message.Contents.OfType<ToolCallContent>().FirstOrDefault(c => c.CallId == "fs_123"); 1397ToolCallContent? computerToolCall = message.Contents.OfType<ToolCallContent>().FirstOrDefault(c => c.CallId == "call_456"); 1407ToolCallContent? applyPatchToolCall = message.Contents.OfType<ToolCallContent>().FirstOrDefault(c => c.CallId == "call_patch_789"); 2289Assert.Equal("ws_1", wsCall.CallId); 2305Assert.Equal("ws_2", wsCall.CallId); 2321Assert.Equal("ws_3", wsCall.CallId);
OpenAIResponseClientIntegrationTests.cs (6)
51Assert.NotNull(toolCallContent.CallId); 52Assert.NotEmpty(toolCallContent.CallId); 100Assert.NotNull(wsCall.CallId); 106Assert.Equal(wsCall.CallId, wsResult.CallId); 167Assert.NotNull(igCall.CallId); 171Assert.Equal(igCall.CallId, igResult.CallId);
OpenAIResponseClientTests.cs (23)
916Assert.Equal("call_zw3...", computerToolCall.CallId); 1014Assert.Equal("call_p7K8YjFwNjqMgkKhSiExgFH6", content.CallId); 1634Assert.Equal("mcp_06ee3b1962eeb8470068e6b21cbaa081a3b5aa2a6c989f4c6f", call.CallId); 2011Assert.Equal("mcp_68be4166acfc8191bc5e0a751eed358b0384f747588fc3f5", firstCall.CallId); 2023Assert.Equal("mcp_68be416900f88191837ae0718339a4ce0384f747588fc3f5", secondCall.CallId); 2422Assert.Equal("mcp_68be4503d45c819e89cb574361c8eba003a2537be0e84a54", firstCall.CallId); 2434Assert.Equal("mcp_68be4505f134819e806c002f27cce0c303a2537be0e84a54", secondCall.CallId); 2631Assert.Equal("mcp_689023b0fa88819f99f48aff343d5ad50475557f6fefb5f0", toolCall.CallId); 3403Assert.Equal(codeCall.CallId, codeResult.CallId); 3623Assert.Equal(codeCall.CallId, codeResult.CallId); 3712Assert.Equal("ci_05d8f42f04f94cb80068fc3b80fba8819ea3bfbdd36e94bcf3", content.CallId); 3742Assert.Equal("ci_05d8f42f04f94cb80068fc3b80fba8819ea3bfbdd36e94bcf3", codeCall.CallId); 6067Assert.Equal("call_123", fcc.CallId); 6383Assert.Equal("img_call_abc123", toolCall.CallId); 6489Assert.Equal("img_call_def456", toolCall.CallId); 6648Assert.Equal("img_call_ghi789", toolCall.CallId); 6855Assert.Equal("call_patch_001", toolCall.CallId); 7140Assert.Equal("ws_0ed9cd9f8606486b0069888072b3d08190818b61da9cf032a7", wsCall.CallId); 7272Assert.Equal("ws_02441a08b3f3bf4b00698880914730819eb48b3ae0c359bff3", wsCallInProgress.CallId); 7277Assert.Equal("ws_02441a08b3f3bf4b00698880914730819eb48b3ae0c359bff3", wsCallDone.CallId); 7304Assert.Equal("ws_02441a08b3f3bf4b00698880914730819eb48b3ae0c359bff3", coalescedWsCall.CallId); 7308Assert.Equal(coalescedWsCall.CallId, coalescedWsResult.CallId); 8940Assert.Equal("call_tag_def", call.CallId);
parent\Microsoft.Extensions.AI.Abstractions.Tests\AssertExtensions.cs (4)
54Assert.Equal(expectedApprovalRequest.ToolCall.CallId, actualApprovalRequest.ToolCall.CallId); 63Assert.Equal(expectedApprovalResponse.ToolCall.CallId, actualApprovalResponse.ToolCall.CallId);
Microsoft.Extensions.AI.Stabilization.Tests (20)
Generated\361d1da7f942c932\AIContentSerializationRegressionContext.CodeInterpreterToolCallContent.g.cs (1)
78Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Generated\361d1da7f942c932\AIContentSerializationRegressionContext.FunctionCallContent.g.cs (1)
139Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Generated\361d1da7f942c932\AIContentSerializationRegressionContext.ImageGenerationToolCallContent.g.cs (1)
58Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Generated\361d1da7f942c932\AIContentSerializationRegressionContext.McpServerToolCallContent.g.cs (1)
119Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Generated\361d1da7f942c932\AIContentSerializationRegressionContext.ToolCallContent.g.cs (1)
58Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Generated\361d1da7f942c932\AIContentSerializationRegressionContext.WebSearchToolCallContent.g.cs (1)
78Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
parent\Microsoft.Extensions.AI.Abstractions.Tests\Contents\CodeInterpreterToolCallContentTests.cs (4)
18Assert.Equal("callId1", c.CallId); 27Assert.Equal("call123", c.CallId); 81Assert.Equal("call123", deserializedSut.CallId); 113Assert.Equal("ci-call1", ciCall.CallId);
parent\Microsoft.Extensions.AI.Abstractions.Tests\Contents\ImageGenerationToolCallContentTests.cs (5)
17Assert.Equal("call123", c.CallId); 25Assert.Equal("img123", c.CallId); 47Assert.Equal("img123", deserializedSut.CallId); 63Assert.Equal("img456", ((ImageGenerationToolCallContent)deserialized).CallId); 83Assert.Equal("img-call1", imgCall.CallId);
parent\Microsoft.Extensions.AI.Abstractions.Tests\Contents\WebSearchToolCallContentTests.cs (5)
17Assert.Equal("callId", c.CallId); 26Assert.Equal("ws_call123", c.CallId); 56Assert.Equal("ws_call123", deserialized.CallId); 72Assert.Equal("ws_call456", result.CallId); 94Assert.Equal("ws-call1", wsCall.CallId);
Microsoft.Extensions.AI.Tests (33)
ChatCompletion\DistributedCachingChatClientTest.cs (4)
820Assert.Equal(expectedFcc.CallId, actualFcc.CallId); 854Assert.Equal(expectedFcc.CallId, actualFcc.CallId);
ChatCompletion\FunctionInvokingChatClientApprovalsTests.cs (9)
1504if (functionCall.CallId == "callId1") 1512else if (functionCall.CallId == "callId2") 1598Assert.Equal("callId1", approvalRequest1.ToolCall.CallId); 1606Assert.Equal("callId2", approvalRequest2.ToolCall.CallId); 1614Assert.Equal("callId1", approvalRequest3.ToolCall.CallId); 2094McpServerToolCallContent mstcc => new McpServerToolCallContent(mstcc.CallId, mstcc.Name, mstcc.ServerName) 2098FunctionCallContent fcc => new FunctionCallContent(fcc.CallId, fcc.Name, fcc.Arguments) 2146.Select(t => t.ToolCall.CallId)); 2157.Where(fcc => !fcc.InformationalOnly && processedCallIds.Contains(fcc.CallId)))
ChatCompletion\FunctionInvokingChatClientTests.cs (6)
406returnedFrc = new FunctionResultContent(ctx.CallContent.CallId, "Custom result from function") 569returnedFrc = new DerivedFunctionResultContent(ctx.CallContent.CallId, "Derived result") 2180Assert.Contains(response.Messages, m => m.Contents.Any(c => c is FunctionCallContent fcc && fcc.CallId == "callId1" && fcc.InformationalOnly)); 2329cloned.Add(new FunctionCallContent(fcc.CallId, fcc.Name, fcc.Arguments) 3500m.Contents.Any(c => c is FunctionCallContent fcc2 && fcc2.CallId == "callId1" && fcc2.InformationalOnly)); 3578m.Contents.Any(c => c is FunctionCallContent fcc2 && fcc2.CallId == "callId1" && fcc2.InformationalOnly));
ChatCompletion\ImageGeneratingChatClientTests.cs (2)
340Assert.Equal(callId, imageToolCallContent.CallId); 384Assert.Equal(callId, imageToolCallContent.CallId);
ChatReduction\SummarizingChatReducerTests.cs (2)
219Assert.Contains(resultList, m => m.Contents.Any(c => c is FunctionCallContent fc && fc.CallId == "call2")); 221Assert.DoesNotContain(resultList, m => m.Contents.Any(c => c is FunctionCallContent fc && fc.CallId == "call1"));
Generated\361d1da7f942c932\TestJsonSerializerContext.CodeInterpreterToolCallContent.g.cs (1)
78Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Generated\361d1da7f942c932\TestJsonSerializerContext.FunctionCallContent.g.cs (1)
139Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Generated\361d1da7f942c932\TestJsonSerializerContext.ImageGenerationToolCallContent.g.cs (1)
58Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Generated\361d1da7f942c932\TestJsonSerializerContext.McpServerToolCallContent.g.cs (1)
119Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Generated\361d1da7f942c932\TestJsonSerializerContext.ToolCallContent.g.cs (1)
58Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
Generated\361d1da7f942c932\TestJsonSerializerContext.WebSearchToolCallContent.g.cs (1)
78Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
parent\Microsoft.Extensions.AI.Abstractions.Tests\AssertExtensions.cs (4)
54Assert.Equal(expectedApprovalRequest.ToolCall.CallId, actualApprovalRequest.ToolCall.CallId); 63Assert.Equal(expectedApprovalResponse.ToolCall.CallId, actualApprovalResponse.ToolCall.CallId);