11 references to new
Microsoft.Extensions.AI.Abstractions.Tests (3)
Contents\AIContentTests.cs (3)
15
AIContent c =
new
();
23
AIContent c =
new
();
39
AIContent original =
new
()
Microsoft.Extensions.AI.OpenAI (4)
OpenAIResponsesChatClient.cs (4)
233
message.Contents.Add(
new
() { RawRepresentation = outputItem });
447
AIContent annotatedContent =
new
(); // do not include RawRepresentation to avoid duplication with already yielded deltas
466
yield return CreateUpdate(new
AIContent
{ RawRepresentation = outputItemDoneUpdate.Item });
1243
content =
new
();
Microsoft.Extensions.AI.OpenAI.Tests (4)
OpenAIConversionTests.cs (4)
721
new
AIContent
{ RawRepresentation = ResponseItem.CreateWebSearchCallItem() },
722
new
AIContent
{ RawRepresentation = ResponseItem.CreateReferenceItem("123") },
729
new
AIContent
{ RawRepresentation = ResponseItem.CreateReasoningItem("text") },
733
new
AIContent
{ RawRepresentation = ResponseItem.CreateSystemMessageItem("test") },