beforeAgentCallback property

Callback? beforeAgentCallback
getter/setter pair

The callback to execute before the agent is called.

Each callback function is expected to return a structure (e.g., a dict or object) containing at least: - 'decision': Either 'OK' or 'TRIGGER'. - 'reason': A string explaining the decision. A 'TRIGGER' decision may halt further processing.

Optional.

Implementation

Callback? beforeAgentCallback;