Base:
3 references to ToString
Microsoft.Extensions.AI.Abstractions.Tests (1)
ChatCompletion\ChatResponseTests.cs (1)
124
Assert.Equal(response.Text, response.
ToString
());
Microsoft.Extensions.AI.Tests (2)
ChatCompletion\FunctionInvokingChatClientTests.cs (2)
846
Assert.Equal("done!", (await service.GetResponseAsync("hey", options)).
ToString
());
848
Assert.Equal("done!", (await service.GetStreamingResponseAsync("hey", options).ToChatResponseAsync()).
ToString
());