langchain/callbacks/stdout.py/StdOutCallbackHandler/on_agent_action
class StdOutCallbackHandler:    def on_agent_action(
        self, action: AgentAction, color: Optional[str] = None, **kwargs: Any
    ) -> Any:
        """Run on agent action."""
        print_text(action.log, color=color if color else self.color)