DummyAgent

constructor(name: String = "test-agent", subAgents: List<ERROR CLASS: Symbol not found for BaseAgent> = emptyList(), beforeAgentCallbacks: List<ERROR CLASS: Symbol not found for BeforeAgentCallback> = emptyList(), afterAgentCallbacks: List<ERROR CLASS: Symbol not found for AfterAgentCallback> = emptyList(), description: String = "", disallowTransferToParent: Boolean = false, disallowTransferToPeers: Boolean = false, onRunAsync: suspend ERROR CLASS: Symbol not found for FlowCollector<ERROR CLASS: Symbol not found for Event>.(ERROR CLASS: Symbol not found for InvocationContext) -> Unit = {})

Parameters

name

The agent's identifier (defaults to "test-agent").

subAgents

The sub-agents managed by this agent (default is empty).

beforeAgentCallbacks

Callbacks executed prior to this agent's run.

afterAgentCallbacks

Callbacks executed after this agent's run.

description

The agent's description (default is empty).

disallowTransferToParent

Forwarded to BaseAgent.disallowTransferToParent.

disallowTransferToPeers

Forwarded to BaseAgent.disallowTransferToPeers.

onRunAsync

Configures the lambda to simulate execution within runAsyncImpl.