Method to explicitly cancel a running task. The implementation should handle the logic of stopping the execution and publishing the final 'canceled' status event on the provided event bus.
Executes the agent logic based on the request context and publishes events.
The bus to publish execution events to.
AgentExecutor invokes an ADK agent and translates session events to A2A events.