Skip to content

Commit b2553f4

Browse files
committed
fix
1 parent 30da41f commit b2553f4

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

src/a2a/compat/v0_3/grpc_handler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ def __init__(
5454
agent_card: The AgentCard describing the agent's capabilities (v1.0).
5555
request_handler: The underlying `RequestHandler` instance to
5656
delegate requests to.
57-
context_builder: Optional custom user builder to extract user from the
58-
gRPC context.
57+
context_builder: The CallContextBuilder object. If none the
58+
DefaultCallContextBuilder is used.
5959
card_modifier: An optional callback to dynamically modify the public
6060
agent card before it is served.
6161
"""

src/a2a/server/routes/jsonrpc_dispatcher.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,9 @@ def __init__( # noqa: PLR0913
161161
requests via http.
162162
extended_agent_card: An optional, distinct AgentCard to be served
163163
at the authenticated extended card endpoint.
164-
context_builder: The ContextBuilder used to construct the
164+
context_builder: The ServerCallContextBuilder used to construct the
165165
ServerCallContext passed to the request_handler. If None the
166-
DefaultContextBuilder is used.
166+
DefaultServerCallContextBuilder is used.
167167
card_modifier: An optional callback to dynamically modify the public
168168
agent card before it is served.
169169
extended_card_modifier: An optional callback to dynamically modify

src/a2a/server/routes/jsonrpc_routes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ def create_jsonrpc_routes( # noqa: PLR0913
5151
rpc_url: The URL prefix for the RPC endpoints.
5252
extended_agent_card: An optional, distinct AgentCard to be served
5353
at the authenticated extended card endpoint.
54-
context_builder: The ContextBuilder used to construct the
54+
context_builder: The ServerCallContextBuilder used to construct the
5555
ServerCallContext passed to the request_handler. If None the
56-
DefaultContextBuilder is used.
56+
DefaultServerCallContextBuilder is used.
5757
card_modifier: An optional callback to dynamically modify the public
5858
agent card before it is served.
5959
extended_card_modifier: An optional callback to dynamically modify

src/a2a/server/routes/rest_dispatcher.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ def __init__( # noqa: PLR0913
8686
request_handler: The underlying `RequestHandler` instance to delegate requests to.
8787
extended_agent_card: An optional, distinct AgentCard to be served
8888
at the authenticated extended card endpoint.
89-
context_builder: The ContextBuilder used to construct the
89+
context_builder: The ServerCallContextBuilder used to construct the
9090
ServerCallContext passed to the request_handler. If None the
91-
DefaultContextBuilder is used.
91+
DefaultServerCallContextBuilder is used.
9292
card_modifier: An optional callback to dynamically modify the public
9393
agent card before it is served.
9494
extended_card_modifier: An optional callback to dynamically modify

src/a2a/server/routes/rest_routes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ def create_rest_routes( # noqa: PLR0913
6464
requests via http.
6565
extended_agent_card: An optional, distinct AgentCard to be served
6666
at the authenticated extended card endpoint.
67-
context_builder: The ContextBuilder used to construct the
67+
context_builder: The ServerCallContextBuilder used to construct the
6868
ServerCallContext passed to the request_handler. If None the
69-
DefaultContextBuilder is used.
69+
DefaultServerCallContextBuilder is used.
7070
card_modifier: An optional callback to dynamically modify the public
7171
agent card before it is served.
7272
extended_card_modifier: An optional callback to dynamically modify

0 commit comments

Comments
 (0)