1 write to _client
Microsoft.Extensions.AI.OpenAI (1)
OpenAIAssistantsChatClient.cs (1)
51
_client
= Throw.IfNull(assistantClient);
7 references to _client
Microsoft.Extensions.AI.OpenAI (7)
OpenAIAssistantsChatClient.cs (7)
78
serviceType == typeof(AssistantClient) ?
_client
:
109
await foreach (var run in
_client
.GetRunsAsync(
132
updates =
_client
.SubmitToolOutputsToRunStreamingAsync(threadRun.ThreadId, threadRun.Id, toolOutputs, cancellationToken);
151
var thread = await
_client
.CreateThreadAsync(threadCreationOptions, cancellationToken).ConfigureAwait(false);
157
_ = await
_client
.CancelRunAsync(threadId, threadRun.Id, cancellationToken).ConfigureAwait(false);
162
updates =
_client
.CreateRunStreamingAsync(
336
var assistant = await
_client
.GetAssistantAsync(_assistantId, cancellationToken).ConfigureAwait(false);