Table of Contents

Interface IAgentTaskExecutor

Namespace
Oscova.Agents.Tasks
Assembly
Oscova.Agents.dll

Executes a single agent task run. Implemented by the consuming application because it requires app-specific dependencies (AppService, chat clients, etc.)

public interface IAgentTaskExecutor

Methods

ExecuteAsync(AgentTaskDefinition, AgentTaskRun?, CancellationToken)

Executes the task. If run is provided the executor populates it in place and returns it; otherwise a new Oscova.Agents.Tasks.AgentTaskRun is created internally.