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