Skip to content

Commit e2361ad

Browse files
committed
improve default request handler docsting
1 parent edf8ccb commit e2361ad

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/a2a/server/request_handlers/default_request_handler.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,15 @@ def __init__( # noqa: PLR0913
112112
Args:
113113
agent_executor: The `AgentExecutor` instance to run agent logic.
114114
task_store: The `TaskStore` instance to manage task persistence.
115-
agent_card: The AgentCard describing the agent's capabilities.
115+
agent_card: The `AgentCard` describing the agent's capabilities.
116116
queue_manager: The `QueueManager` instance to manage event queues. Defaults to `InMemoryQueueManager`.
117117
push_config_store: The `PushNotificationConfigStore` instance for managing push notification configurations. Defaults to None.
118118
push_sender: The `PushNotificationSender` instance for sending push notifications. Defaults to None.
119119
request_context_builder: The `RequestContextBuilder` instance used
120120
to build request contexts. Defaults to `SimpleRequestContextBuilder`.
121-
extended_agent_card: An optional, distinct AgentCard to be served at the authenticated extended card endpoint.
122-
card_modifier: An optional callback to dynamically modify the public agent card before it is served.
123-
extended_card_modifier: An optional callback to dynamically modify the extended agent card before it is served. It receives the call context.
121+
extended_agent_card: An optional, distinct `AgentCard` to be served at the extended card endpoint.
122+
card_modifier: An optional callback to dynamically modify the public `AgentCard` before it is served.
123+
extended_card_modifier: An optional callback to dynamically modify the extended `AgentCard` before it is served.
124124
"""
125125
self.agent_executor = agent_executor
126126
self.task_store = task_store

0 commit comments

Comments
 (0)