1 write to CallId
Microsoft.Extensions.AI.Abstractions (1)
Contents\McpServerToolResultContent.cs (1)
29
CallId
= Throw.IfNullOrWhitespace(callId);
11 references to 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)
1064
if (idToContentMapping?.TryGetValue(mstrc.
CallId
, out AIContent? callContentFromMapping) is true &&
1067
_ = idToContentMapping.Remove(mstrc.
CallId
);
Microsoft.Extensions.AI.OpenAI.Tests (5)
OpenAIResponseClientTests.cs (5)
1218
Assert.Equal("mcp_06ee3b1962eeb8470068e6b21cbaa081a3b5aa2a6c989f4c6f", result.
CallId
);
1473
Assert.Equal("mcp_68be4166acfc8191bc5e0a751eed358b0384f747588fc3f5", firstResult.
CallId
);
1486
Assert.Equal("mcp_68be416900f88191837ae0718339a4ce0384f747588fc3f5", secondResult.
CallId
);
1887
Assert.Equal("mcp_68be4503d45c819e89cb574361c8eba003a2537be0e84a54", firstResult.
CallId
);
1900
Assert.Equal("mcp_68be4505f134819e806c002f27cce0c303a2537be0e84a54", secondResult.
CallId
);