Skip to main content

Module request_handler

Module request_handler 

Source
Available on crate features server and a2a-v1 only.
Expand description

A2A v1.0.0 request handler — shared dispatch layer.

The RequestHandler maps operation names to executor/store calls and is used by both the JSON-RPC and REST transport handlers. It owns references to the V1Executor, TaskStore, PushNotificationSender, and CachedAgentCard.

When a [RunnerConfig] is provided, message_send and message_stream invoke the agent through the ADK Runner for real LLM generation. Without a runner config, they fall back to stub behavior (state transitions only).

Structs§

RequestHandler
Shared dispatch layer for A2A v1.0.0 operations.