Respond_directly in the router model's streamed return does not include sub-agent information

Hi, I’m using Agno 2.4.6 with Python 3.11.

When I use Team with respond_directly=True.

I found that the event of the content returned by the stream is TeamRunContent. And it does not contain any information about the sub-agent, which makes it impossible for me to determine which sub-agent this chunk belongs to. In previous versions, the chunks returned by the routing mode were returned by the agent alone, without going through the team event. This leaves me confused. How should I handle this?

My requirement is that I want to know which agent returned the current streamed chunk.

Thanks!

@Monali Can you help me check it urgently? Thank you..

@Monali I’m referring to the issue that only occurs when running with team’s arun, while it runs normally when running with run.

team arun result:

tam run result:

Can you give me a reply? I’m very anxious. Thank you!

@yuvi @ayush Could you please take a look at this issue for me? Thank you very much!