1 write to _chatClient
Microsoft.Extensions.AI.OpenAI (1)
OpenAIChatClient.cs (1)
42_chatClient = chatClient;
4 references to _chatClient
Microsoft.Extensions.AI.OpenAI (4)
OpenAIChatClient.cs (4)
51_metadata = new("openai", providerUrl, _chatClient.Model); 62serviceType == typeof(ChatClient) ? _chatClient : 77var response = await _chatClient.CompleteChatAsync(openAIChatMessages, openAIOptions, cancellationToken).ConfigureAwait(false); 92var chatCompletionUpdates = _chatClient.CompleteChatStreamingAsync(openAIChatMessages, openAIOptions, cancellationToken);