Table of Contents

Method OnHandoffAsync

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

OnHandoffAsync(AgentHandoff, AgentRunState, CancellationToken)

Called once when a run hands off, before its result is returned.

Task OnHandoffAsync(AgentHandoff handoff, AgentRunState state, CancellationToken cancellationToken)

Parameters

handoff AgentHandoff

The hand-off context.

state AgentRunState

The run's state at the hand-off.

cancellationToken CancellationToken

A token to cancel the call.

Returns

Task

A task that completes when the hand-off is taken.

Share