Skip to content

Build and run agents you can see, understand and trust.

fix(a2a): fix the bug of a2a server in the example (#1080)

zhijianma17830ad56ab8
diff --git a/examples/agent/a2a_agent/setup_a2a_server.py b/examples/agent/a2a_agent/setup_a2a_server.py
index 8255aab36..a8d8713ee 100644
--- a/examples/agent/a2a_agent/setup_a2a_server.py
+++ b/examples/agent/a2a_agent/setup_a2a_server.py
@@ -35,6 +35,7 @@ class SimpleStreamHandler:
async def on_message_send_stream(
self, # pylint: disable=unused-argument
params: MessageSendParams,
+ *args: Any,
**kwargs: Any,
) -> AsyncGenerator[Event, None]:
"""Handles the message_send method by the agent