24 references to ImageGenerationToolCallContent
Microsoft.Extensions.AI (1)
ChatCompletion\ImageGeneratingChatClient.cs (1)
336newContents.Add(new ImageGenerationToolCallContent(functionCall.CallId));
Microsoft.Extensions.AI.Abstractions (1)
Generated\361d1da7f942c932\JsonContext.ImageGenerationToolCallContent.g.cs (1)
34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.ImageGenerationToolCallContent((string)args[0]),
Microsoft.Extensions.AI.Abstractions.Tests (9)
Contents\AIContentTests.cs (1)
83new ImageGenerationToolCallContent("img123"),
Contents\ImageGenerationToolCallContentTests.cs (4)
14ImageGenerationToolCallContent c = new("call123"); 23ImageGenerationToolCallContent c = new("img123"); 41ImageGenerationToolCallContent content = new("img123"); 53AIContent content = new ImageGenerationToolCallContent("img456");
Contents\ToolApprovalRequestContentTests.cs (1)
27new ImageGenerationToolCallContent("IG1"),
Contents\ToolApprovalResponseContentTests.cs (1)
27new ImageGenerationToolCallContent("IG1"),
Contents\ToolCallContentTests.cs (1)
59new ImageGenerationToolCallContent("call4"),
Generated\361d1da7f942c932\TestJsonSerializerContext.ImageGenerationToolCallContent.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.ImageGenerationToolCallContent((string)args[0]),
Microsoft.Extensions.AI.Evaluation.Reporting (1)
Generated\361d1da7f942c932\JsonContext.ImageGenerationToolCallContent.g.cs (1)
34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.ImageGenerationToolCallContent((string)args[0]),
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (1)
Generated\361d1da7f942c932\JsonContext.ImageGenerationToolCallContent.g.cs (1)
34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.ImageGenerationToolCallContent((string)args[0]),
Microsoft.Extensions.AI.OpenAI (2)
OpenAIResponsesChatClient.cs (2)
488yield return CreateUpdate(new ImageGenerationToolCallContent(imageGenInProgress.ItemId) 1970contents.Add(new ImageGenerationToolCallContent(outputItem.Id));
Microsoft.Extensions.AI.OpenAI.Tests (1)
OpenAIResponseClientTests.cs (1)
1757var imageGenApproval = new ToolApprovalResponseContent("req-ig-1", false, new ImageGenerationToolCallContent("ig-call-1"));
Microsoft.Extensions.AI.Stabilization.Tests (5)
Generated\361d1da7f942c932\AIContentSerializationRegressionContext.ImageGenerationToolCallContent.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.ImageGenerationToolCallContent((string)args[0]),
parent\Microsoft.Extensions.AI.Abstractions.Tests\Contents\ImageGenerationToolCallContentTests.cs (4)
14ImageGenerationToolCallContent c = new("call123"); 23ImageGenerationToolCallContent c = new("img123"); 41ImageGenerationToolCallContent content = new("img123"); 53AIContent content = new ImageGenerationToolCallContent("img456");
Microsoft.Extensions.AI.Tests (3)
ChatCompletion\OpenTelemetryChatClientTests.cs (2)
663new ImageGenerationToolCallContent("img-123"), 679yield return new() { Contents = [new ImageGenerationToolCallContent("img-123")] };
Generated\361d1da7f942c932\TestJsonSerializerContext.ImageGenerationToolCallContent.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.ImageGenerationToolCallContent((string)args[0]),