1 write to _responseClient
Microsoft.Extensions.AI.OpenAI (1)
OpenAIResponsesChatClient.cs (1)
80_responseClient = responseClient;
7 references to _responseClient
Microsoft.Extensions.AI.OpenAI (7)
OpenAIResponsesChatClient.cs (7)
94serviceType == typeof(ResponsesClient) ? _responseClient : 114var getTask = _responseClient.GetResponseAsync(token.ResponseId, include: null, stream: null, startingAfter: null, includeObfuscation: null, cancellationToken.ToRequestOptions(streaming: false, _requestPolicies)); 125var createTask = _responseClient.CreateResponseAsync((BinaryContent)openAIOptions, cancellationToken.ToRequestOptions(streaming: false, _requestPolicies)); 342_getResponseStreamingAsync(_responseClient, getOptions, cancellationToken.ToRequestOptions(streaming: true, _requestPolicies)) : 343_responseClient.GetResponseStreamingAsync(getOptions, cancellationToken); 355_createResponseStreamingAsync(_responseClient, openAIOptions, cancellationToken.ToRequestOptions(streaming: true, _requestPolicies)) : 356_responseClient.CreateResponseStreamingAsync(openAIOptions, cancellationToken);