Hashbrown.AspNetCore · C# API reference
Hashbrown.AspNetCore.InterruptWorkflowClient
Upcoming 0.1.0-preview.2 · Unreleased
public sealed class InterruptWorkflowClient : Microsoft.Extensions.AI.DelegatingChatClient, Microsoft.Extensions.AI.IChatClient, System.IDisposablePauses an application-selected workflow using upstream native interrupt content.
Members
InterruptWorkflowClient
public InterruptWorkflowClient(Microsoft.Extensions.AI.IChatClient innerClient, Hashbrown.AspNetCore.IInterruptStore store, Hashbrown.AspNetCore.WorkflowOperationRegistry registry, System.Func<AGUI.Abstractions.RunAgentInput, Hashbrown.AspNetCore.WorkflowCheckpoint?> selectCheckpoint, System.Func<string> scope, System.Func<Hashbrown.AspNetCore.InterruptClaim?> currentClaim);Pauses an application-selected workflow using upstream native interrupt content.
GetStreamingResponseAsync
public System.Collections.Generic.IAsyncEnumerable<Microsoft.Extensions.AI.ChatResponseUpdate> GetStreamingResponseAsync(System.Collections.Generic.IEnumerable<Microsoft.Extensions.AI.ChatMessage> messages, Microsoft.Extensions.AI.ChatOptions? options = null, System.Threading.CancellationToken cancellationToken = default);See also
- Inherited documentation (M:Microsoft.Extensions.AI.DelegatingChatClient.GetStreamingResponseAsync(System.Collections.Generic.IEnumerable{Microsoft.Extensions.AI.ChatMessage},Microsoft.Extensions.AI.ChatOptions,System.Threading.CancellationToken))