1 write to _responseClient
Microsoft.Extensions.AI.OpenAI (1)
OpenAIResponsesChatClient.cs (1)
68_responseClient = responseClient;
9 references to _responseClient
Microsoft.Extensions.AI.OpenAI (9)
OpenAIResponsesChatClient.cs (9)
81serviceType == typeof(ResponsesClient) ? _responseClient : 98var getTask = _responseClient.GetResponseAsync(token.ResponseId, include: null, stream: null, startingAfter: null, includeObfuscation: null, cancellationToken.ToRequestOptions(streaming: false)); 109var createTask = _responseClient.CreateResponseAsync((BinaryContent)openAIOptions, cancellationToken.ToRequestOptions(streaming: false)); 260_getResponseStreamingAsync(_responseClient, getOptions, cancellationToken.ToRequestOptions(streaming: true)) : 261_responseClient.GetResponseStreamingAsync(getOptions, cancellationToken); 273_createResponseStreamingAsync(_responseClient, openAIOptions, cancellationToken.ToRequestOptions(streaming: true)) : 274_responseClient.CreateResponseStreamingAsync(openAIOptions, cancellationToken); 700Model = _responseClient.Model, 716result.Model ??= options.ModelId ?? _responseClient.Model;