1 write to _chatClient
Microsoft.Extensions.AI.OpenAI (1)
OpenAIChatClient.cs (1)
39_chatClient = Throw.IfNull(chatClient);
4 references to _chatClient
Microsoft.Extensions.AI.OpenAI (4)
OpenAIChatClient.cs (4)
41_metadata = new("openai", chatClient.Endpoint, _chatClient.Model); 52serviceType == typeof(ChatClient) ? _chatClient : 67var response = await _chatClient.CompleteChatAsync(openAIChatMessages, openAIOptions, cancellationToken).ConfigureAwait(false); 82var chatCompletionUpdates = _chatClient.CompleteChatStreamingAsync(openAIChatMessages, openAIOptions, cancellationToken);