Class AgentRunPlan
- Namespace
- Oscova.Agents.Tasks
- Assembly
- Oscova.Agents.dll
Customizations an agent task handler applies around the standard agent run.
public sealed record AgentRunPlan : IEquatable<AgentRunPlan>Inheritance
Implements
Inherited Members
Constructors
- AgentRunPlan(string, Func<CancellationToken, Task>?)
-
Customizations an agent task handler applies around the standard agent run.
Properties
- Instruction
-
Replaces the raw task instruction for this run.
- OnSuccessAsync
-
Optional callback invoked after the agent run succeeds and before the run is marked completed. If this throws, the run is marked failed.