Table of Contents

Property AgentStepRunner

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

AgentStepRunner

Gets or sets the host's own runner of agent steps; null runs each step's agent from resolveAgent. A host whose agents carry more than a definition (an API key's grants, knowledge, memory, its approval rules) runs them here, and returns the agent's result: its stop for a person (RunState) stops the workflow, which hands that run back through StoppedRun on resume.

public Func<WorkflowAgentStep, CancellationToken, Task<AgentExecutionResult>> AgentStepRunner { get; set; }

Property Value

Func<WorkflowAgentStep, CancellationToken, Task<AgentExecutionResult>>
Share