Skip to content

bodhi-realtime-agent / MainAgentHooks

Interface: MainAgentHooks ​

Defined in: src/runtime/actors/main-agent-actor.ts:27

Hook callbacks that MainAgentActor fires at lifecycle points.

Properties ​

onAgentTransfer? ​

optional onAgentTransfer?: (info) => void

Defined in: src/runtime/actors/main-agent-actor.ts:28

Parameters ​

info ​
fromAgent ​

string

toAgent ​

string

transferCorrelationId ​

string

Returns ​

void


onError? ​

optional onError?: (info) => void

Defined in: src/runtime/actors/main-agent-actor.ts:33

Parameters ​

info ​
component ​

string

error ​

string

severity ​

string

Returns ​

void

Built with VitePress