1 write to _responseClient
Microsoft.Extensions.AI.OpenAI (1)
OpenAIResponsesChatClient.cs (1)
62_responseClient = responseClient;
7 references to _responseClient
Microsoft.Extensions.AI.OpenAI (7)
OpenAIResponsesChatClient.cs (7)
75serviceType == typeof(OpenAIResponseClient) ? _responseClient : 92var response = await _responseClient.GetResponseAsync(token.ResponseId, cancellationToken).ConfigureAwait(false); 101_createResponseAsync(_responseClient, openAIResponseItems, openAIOptions, cancellationToken.ToRequestOptions(streaming: false)) : 102_responseClient.CreateResponseAsync(openAIResponseItems, openAIOptions, cancellationToken); 235IAsyncEnumerable<StreamingResponseUpdate> updates = _responseClient.GetResponseStreamingAsync(token.ResponseId, token.SequenceNumber, cancellationToken); 243_createResponseStreamingAsync(_responseClient, openAIResponseItems, openAIOptions, cancellationToken.ToRequestOptions(streaming: true)) : 244_responseClient.CreateResponseStreamingAsync(openAIResponseItems, openAIOptions, cancellationToken);