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