1 write to _client
Microsoft.Extensions.AI.OpenAI (1)
OpenAIAssistantsChatClient.cs (1)
50
_client
= Throw.IfNull(assistantClient);
7 references to _client
Microsoft.Extensions.AI.OpenAI (7)
OpenAIAssistantsChatClient.cs (7)
77
serviceType == typeof(AssistantClient) ?
_client
:
108
await foreach (var run in
_client
.GetRunsAsync(
131
updates =
_client
.SubmitToolOutputsToRunStreamingAsync(threadRun.ThreadId, threadRun.Id, toolOutputs, cancellationToken);
146
var thread = await
_client
.CreateThreadAsync(threadCreationOptions, cancellationToken).ConfigureAwait(false);
152
_ = await
_client
.CancelRunAsync(threadId, threadRun.Id, cancellationToken).ConfigureAwait(false);
157
updates =
_client
.CreateRunStreamingAsync(
290
var assistant = await
_client
.GetAssistantAsync(_assistantId, cancellationToken).ConfigureAwait(false);