2 references to JsonContextWithoutFunctionArgument
Microsoft.Extensions.AI.OpenAI.Tests (2)
OpenAISerializationTests.cs (2)
704
await Assert.ThrowsAsync<NotSupportedException>(() => OpenAISerializationHelpers.SerializeAsync(stream, response, options:
JsonContextWithoutFunctionArgument
.Default.Options));
705
await Assert.ThrowsAsync<NotSupportedException>(() => OpenAISerializationHelpers.SerializeStreamingAsync(stream, GetStreamingResponse(), options:
JsonContextWithoutFunctionArgument
.Default.Options));