Ask a question to get started
Enter to send•Shift+Enter new line
Run on agent action.
on_agent_action( self, action: AgentAction, *, run_id: UUID, parent_run_id: UUID | None = None, tags: list[str] | None = None, **kwargs: Any = {} ) -> None
action
AgentAction
The agent action.
run_id
UUID
The ID of the current run.
parent_run_id
UUID | None
None
The ID of the parent run.
tags
list[str] | None
The tags.
**kwargs
Any
{}
Additional keyword arguments.