2 references to GetStreamingChatCompletion
Microsoft.Extensions.AI.OpenAI.Tests (2)
OpenAISerializationTests.cs (2)
673
await Assert.ThrowsAsync<ArgumentNullException>(() => OpenAISerializationHelpers.SerializeStreamingAsync(null!,
GetStreamingChatCompletion
()));
691
await Assert.ThrowsAsync<TaskCanceledException>(() => OpenAISerializationHelpers.SerializeStreamingAsync(stream,
GetStreamingChatCompletion
(), cancellationToken: canceledToken));