8 references to new
Microsoft.Extensions.AI.Abstractions.Tests (4)
UsageDetailsTests.cs (4)
34AdditionalCounts = new() { ["custom"] = 100 } 129AdditionalCounts = new() { ["key1"] = 10, ["key2"] = 20 } 134AdditionalCounts = new() { ["key2"] = 30, ["key3"] = 40 } 155AdditionalCounts = new() { ["custom"] = 100 }
Microsoft.Extensions.AI.OpenAI.Tests (1)
OpenAIChatClientTests.cs (1)
264Assert.Equal(new AdditionalPropertiesDictionary<long>
Microsoft.Extensions.AI.Tests (3)
ChatCompletion\DistributedCachingChatClientTest.cs (1)
69AdditionalCounts = new() { ["someValue"] = 1_234_567 }
ChatCompletion\FunctionInvokingChatClientApprovalsTests.cs (1)
984AdditionalCounts = new() { ["firstValue"] = value, ["secondValue"] = value },
ChatCompletion\FunctionInvokingChatClientTests.cs (1)
1528AdditionalCounts = new() { ["firstValue"] = value, ["secondValue"] = value },