-
Hi, I'm someone who is not very familiar with Python and streaming, so I’d like to ask a basic question. Currently, I’m using ADK to build an agent, and I'm integrating A2A into my ADK setup. I’m a bit confused about whether the sample Do I have to explicitly configure class A2ARunConfig(RunConfig):
"""Custom override of ADK RunConfig to smuggle extra data through the event loop."""
model_config = ConfigDict(
arbitrary_types_allowed=True,
)
current_task_updater: TaskUpdater
streaming_mode: StreamingMode.SSE # 👉 Does this line enable streaming with A2A? Why is it missing in the example? Does this line enable streaming with A2A? Why is it missing in the example? Since my knowledge is limited, I’m not sure when or why I should use this. Any clarification or simple explanation would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, From my tests, it looks like you need to set
Not sure where exactly is the bug, but without the sleep, streaming doesn't work properly. |
Beta Was this translation helpful? Give feedback.
Small update: the "sleep bug" is fixed now with #151