1 write to _getResponseFunc
Microsoft.Extensions.AI (1)
ChatCompletion\AnonymousDelegatingChatClient.cs (1)
83_getResponseFunc = getResponseFunc;
4 references to _getResponseFunc
Microsoft.Extensions.AI (4)
ChatCompletion\AnonymousDelegatingChatClient.cs (4)
114else if (_getResponseFunc is not null) 116return _getResponseFunc(messages, options, InnerClient, cancellationToken); 184Debug.Assert(_getResponseFunc is not null, "Expected non-null non-streaming delegate."); 185return GetStreamingResponseAsyncViaGetResponseAsync(_getResponseFunc!(messages, options, InnerClient, cancellationToken));