1 write to _client
Microsoft.Extensions.AI.OpenAI (1)
OpenAIAssistantChatClient.cs (1)
53
_client
= Throw.IfNull(assistantClient);
7 references to _client
Microsoft.Extensions.AI.OpenAI (7)
OpenAIAssistantChatClient.cs (7)
73
serviceType == typeof(AssistantClient) ?
_client
:
104
await foreach (var run in
_client
.GetRunsAsync(
127
updates =
_client
.SubmitToolOutputsToRunStreamingAsync(threadRun.ThreadId, threadRun.Id, toolOutputs, cancellationToken);
142
var thread = await
_client
.CreateThreadAsync(threadCreationOptions, cancellationToken).ConfigureAwait(false);
148
_ = await
_client
.CancelRunAsync(threadId, threadRun.Id, cancellationToken).ConfigureAwait(false);
153
updates =
_client
.CreateRunStreamingAsync(
271
var assistant = await
_client
.GetAssistantAsync(_assistantId, cancellationToken).ConfigureAwait(false);