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: {} |
Handle agent action by writing the action log.
The agent action containing the log to write.
Color override for this specific output.
If None, uses self.color.
Additional keyword arguments.