1 write to CallId
Microsoft.Extensions.AI.Abstractions (1)
Contents\McpServerToolResultContent.cs (1)
29CallId = Throw.IfNullOrWhitespace(callId);
11 references to CallId
Microsoft.Extensions.AI.Abstractions.Tests (4)
Contents\McpServerToolResultContentTests.cs (4)
17Assert.Equal("callId", c.CallId); 38Assert.Equal("callId", c.CallId); 65Assert.Equal(content.CallId, deserializedContent.CallId);
Microsoft.Extensions.AI.OpenAI (2)
OpenAIResponsesChatClient.cs (2)
1064if (idToContentMapping?.TryGetValue(mstrc.CallId, out AIContent? callContentFromMapping) is true && 1067_ = idToContentMapping.Remove(mstrc.CallId);
Microsoft.Extensions.AI.OpenAI.Tests (5)
OpenAIResponseClientTests.cs (5)
1218Assert.Equal("mcp_06ee3b1962eeb8470068e6b21cbaa081a3b5aa2a6c989f4c6f", result.CallId); 1473Assert.Equal("mcp_68be4166acfc8191bc5e0a751eed358b0384f747588fc3f5", firstResult.CallId); 1486Assert.Equal("mcp_68be416900f88191837ae0718339a4ce0384f747588fc3f5", secondResult.CallId); 1887Assert.Equal("mcp_68be4503d45c819e89cb574361c8eba003a2537be0e84a54", firstResult.CallId); 1900Assert.Equal("mcp_68be4505f134819e806c002f27cce0c303a2537be0e84a54", secondResult.CallId);