1 write to InnerClient
Microsoft.Extensions.AI.Abstractions (1)
ChatCompletion\DelegatingChatClient.cs (1)
27InnerClient = Throw.IfNull(innerClient);
11 references to InnerClient
Microsoft.Extensions.AI (6)
ChatCompletion\AnonymousDelegatingChatClient.cs (6)
99completion = await InnerClient.CompleteAsync(chatMessages, options, cancellationToken).ConfigureAwait(false); 112return _completeFunc(chatMessages, options, InnerClient, cancellationToken); 117return _completeStreamingFunc!(chatMessages, options, InnerClient, cancellationToken) 141await foreach (var update in InnerClient.CompleteStreamingAsync(chatMessages, options, cancellationToken).ConfigureAwait(false)) 162return _completeStreamingFunc(chatMessages, options, InnerClient, cancellationToken); 167return CompleteStreamingAsyncViaCompleteAsync(_completeFunc!(chatMessages, options, InnerClient, cancellationToken));
Microsoft.Extensions.AI.Abstractions (5)
ChatCompletion\DelegatingChatClient.cs (5)
46InnerClient.Dispose(); 51public virtual ChatClientMetadata Metadata => InnerClient.Metadata; 56return InnerClient.CompleteAsync(chatMessages, options, cancellationToken); 62return InnerClient.CompleteStreamingAsync(chatMessages, options, cancellationToken); 73InnerClient.GetService(serviceType, serviceKey);