3 references to YieldAsync
Microsoft.Extensions.AI.Tests (3)
ChatCompletion\FunctionInvokingChatClientTests.cs (3)
684
return
YieldAsync
(updates);
911
YieldAsync
(callback(chatContents, chatOptions, cancellationToken).ToChatResponseUpdates()),
1128
return
YieldAsync
(new ChatResponse(message).ToChatResponseUpdates());