Table of Contents

Method RunStreamingToConsoleAsync

Namespace
LMKit.Agents.Orchestration.Streaming
Assembly
LM-Kit.NET.dll

RunStreamingToConsoleAsync(IOrchestrator, string, bool, OrchestrationOptions, CancellationToken)

Executes with streaming and writes directly to console.

public static Task<OrchestrationResult> RunStreamingToConsoleAsync(this IOrchestrator orchestrator, string input, bool verbose = false, OrchestrationOptions options = null, CancellationToken cancellationToken = default)

Parameters

orchestrator IOrchestrator

The orchestrator to execute.

input string

The input prompt.

verbose bool

Whether to include agent transitions, tool calls and status in output.

options OrchestrationOptions

Optional orchestration options.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<OrchestrationResult>

The final orchestration result.

Share