1 write to _completeFunc
Microsoft.Extensions.AI (1)
ChatCompletion\AnonymousDelegatingChatClient.cs (1)
80
_completeFunc
= completeFunc;
4 references to _completeFunc
Microsoft.Extensions.AI (4)
ChatCompletion\AnonymousDelegatingChatClient.cs (4)
110
else if (
_completeFunc
is not null)
112
return
_completeFunc
(chatMessages, options, InnerClient, cancellationToken);
166
Debug.Assert(
_completeFunc
is not null, "Expected non-null non-streaming delegate.");
167
return CompleteStreamingAsyncViaCompleteAsync(
_completeFunc
!(chatMessages, options, InnerClient, cancellationToken));