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