13 references to new
Microsoft.Extensions.AI.Abstractions (1)
ChatCompletion\ChatResponseExtensions.cs (1)
196
new
(MergeText(contents, start, end))
Microsoft.Extensions.AI.Abstractions.Tests (10)
ChatCompletion\ChatResponseUpdateExtensionsTests.cs (8)
273
new() { Contents = [new
TextReasoningContent
("D")] },
274
new() { Contents = [new
TextReasoningContent
("E")] },
275
new() { Contents = [new
TextReasoningContent
("F")] },
278
new() { Contents = [new
TextReasoningContent
("I")] },
279
new() { Contents = [new
TextReasoningContent
("J")] },
281
new() { Contents = [new
TextReasoningContent
("L")] },
284
new() { Contents = [new
TextReasoningContent
("O")] },
285
new() { Contents = [new
TextReasoningContent
("P")] },
Contents\TextReasoningContentTests.cs (2)
16
TextReasoningContent c =
new
(text);
25
TextReasoningContent c =
new
(null);
Microsoft.Extensions.AI.OpenAI (2)
OpenAIResponsesChatClient.cs (2)
153
message.Contents.Add(new
TextReasoningContent
(summary) { RawRepresentation = outputItem });
333
yield return CreateUpdate(new
TextReasoningContent
(delta));