1 write to CallId
Microsoft.Extensions.AI.Abstractions (1)
Contents\McpServerToolResultContent.cs (1)
30
CallId
= Throw.IfNullOrWhitespace(callId);
12 references to CallId
Microsoft.Extensions.AI (1)
ChatCompletion\OpenTelemetryChatClient.cs (1)
430
Id = mstrc.
CallId
,
Microsoft.Extensions.AI.Abstractions.Tests (4)
Contents\McpServerToolResultContentTests.cs (4)
17
Assert.Equal("callId", c.
CallId
);
38
Assert.Equal("callId", c.
CallId
);
65
Assert.Equal(content.
CallId
, deserializedContent.
CallId
);
Microsoft.Extensions.AI.OpenAI (2)
OpenAIResponsesChatClient.cs (2)
1181
if (idToContentMapping?.TryGetValue(mstrc.
CallId
, out AIContent? callContentFromMapping) is true &&
1184
_ = idToContentMapping.Remove(mstrc.
CallId
);
Microsoft.Extensions.AI.OpenAI.Tests (5)
OpenAIResponseClientTests.cs (5)
1554
Assert.Equal("mcp_06ee3b1962eeb8470068e6b21cbaa081a3b5aa2a6c989f4c6f", result.
CallId
);
1808
Assert.Equal("mcp_68be4166acfc8191bc5e0a751eed358b0384f747588fc3f5", firstResult.
CallId
);
1821
Assert.Equal("mcp_68be416900f88191837ae0718339a4ce0384f747588fc3f5", secondResult.
CallId
);
2221
Assert.Equal("mcp_68be4503d45c819e89cb574361c8eba003a2537be0e84a54", firstResult.
CallId
);
2234
Assert.Equal("mcp_68be4505f134819e806c002f27cce0c303a2537be0e84a54", secondResult.
CallId
);