20 references to ToolCallContent
Microsoft.Extensions.AI.Abstractions (6)
Contents\CodeInterpreterToolCallContent.cs (1)
22: base(callId)
Contents\FunctionCallContent.cs (1)
27: base(callId)
Contents\ImageGenerationToolCallContent.cs (1)
16: base(callId)
Contents\McpServerToolCallContent.cs (1)
35: base(Throw.IfNullOrWhitespace(callId))
Contents\WebSearchToolCallContent.cs (1)
22: base(callId)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.ToolCallContent.g.cs (1)
34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.ToolCallContent((string)args[0]),
Microsoft.Extensions.AI.Abstractions.Tests (5)
Contents\ToolCallContentTests.cs (3)
16ToolCallContent c = new("callId1"); 26Assert.Throws<ArgumentNullException>("callId", () => new ToolCallContent(null!)); 32ToolCallContent c = new("callId1");
Generated\361d1da7f942c932\TestJsonSerializerContext.ToolCallContent.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.ToolCallContent((string)args[0]),
Utilities\AIJsonUtilitiesTests.cs (1)
1928: base("callId")
Microsoft.Extensions.AI.Evaluation.Reporting (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.ToolCallContent.g.cs (1)
34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.ToolCallContent((string)args[0]),
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.ToolCallContent.g.cs (1)
34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.ToolCallContent((string)args[0]),
Microsoft.Extensions.AI.OpenAI (5)
OpenAIResponsesChatClient.cs (5)
292message.Contents.Add(new ToolCallContent(outputItem.Id)); 297message.Contents.Add(new ToolCallContent(computerCall.CallId) { RawRepresentation = computerCall }); 305message.Contents.Add(new ToolCallContent(patchCall.CallId) { RawRepresentation = patchCall }); 620var toolCallUpdate = CreateUpdate(new ToolCallContent(outputItemDoneUpdate.Item.Id)); 626yield return CreateUpdate(new ToolCallContent(computerCall.CallId) { RawRepresentation = outputItemDoneUpdate.Item });
Microsoft.Extensions.AI.Stabilization.Tests (1)
Generated\361d1da7f942c932\AIContentSerializationRegressionContext.ToolCallContent.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.ToolCallContent((string)args[0]),
Microsoft.Extensions.AI.Tests (1)
Generated\361d1da7f942c932\TestJsonSerializerContext.ToolCallContent.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.ToolCallContent((string)args[0]),