1 write to _responseClient
Microsoft.Extensions.AI.OpenAI (1)
OpenAIResponsesChatClient.cs (1)
71_responseClient = responseClient;
9 references to _responseClient
Microsoft.Extensions.AI.OpenAI (9)
OpenAIResponsesChatClient.cs (9)
84serviceType == typeof(ResponsesClient) ? _responseClient : 103var getTask = _responseClient.GetResponseAsync(token.ResponseId, include: null, stream: null, startingAfter: null, includeObfuscation: null, cancellationToken.ToRequestOptions(streaming: false)); 114var createTask = _responseClient.CreateResponseAsync((BinaryContent)openAIOptions, cancellationToken.ToRequestOptions(streaming: false)); 277_getResponseStreamingAsync(_responseClient, getOptions, cancellationToken.ToRequestOptions(streaming: true)) : 278_responseClient.GetResponseStreamingAsync(getOptions, cancellationToken); 290_createResponseStreamingAsync(_responseClient, openAIOptions, cancellationToken.ToRequestOptions(streaming: true)) : 291_responseClient.CreateResponseStreamingAsync(openAIOptions, cancellationToken); 740Model = _responseClient.Model, 756result.Model ??= options.ModelId ?? _responseClient.Model;