on_agent_action(
self,
action: AgentAction,
color: str | None = None,
**kwargs: Any| Name | Type | Description |
|---|---|---|
action* | AgentAction | |
color | str | None | Default: None |
**kwargs | Any | Default: {} |
Run on agent action.
The agent action.
The color to use for the text.
Additional keyword arguments.