Table of Contents

Method SaveAsync

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

SaveAsync(AgentRunState, CancellationToken)

Saves a run's state, replacing the previous one.

Task SaveAsync(AgentRunState state, CancellationToken cancellationToken = default)

Parameters

state AgentRunState

The state.

cancellationToken CancellationToken

A token to cancel the save.

Returns

Task

A task that completes when the state is saved.

Share