Table of Contents

Method OnStartAsync

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

OnStartAsync(Agent, string, CancellationToken)

Called when streaming starts.

public Task OnStartAsync(Agent agent, string input, CancellationToken cancellationToken = default)

Parameters

agent Agent

The agent being executed.

input string

The input to the agent.

cancellationToken CancellationToken

Cancellation token.

Returns

Task

A task representing the async operation.