a2aproject / a2aproject/a2a-samples

Streaming Problem in samples/python/agents/google_adk/task_manager.py

オープン 初心者向け
#15 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Jupyter Notebook
スター
1.8k
フォーク
751
PR マージ指標
30日以内にマージされた PR はありません

説明

Hi all,

It looks like there is an indentation issue in the task_manager.py file of the google_adk example. Currently, streaming only sends the response once the full message is completed, rather than streaming it in chunks.

As I'm not an expert in asyncio and streaming, it seems like the indentation in lines 158–191 might be the problem:

https://github.com/google/A2A/blob/b67527f2b4a7e7ce9e40bd003bbcf3d4b95367d6/samples/python/agents/google_adk/task_manager.py#L158

From my perspective, these lines should probably be indented by 4 more spaces.

Thanks in advance for your help!

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

The issue points to a specific file, samples/python/agents/google_adk/task_manager.py, and lines 158–191. Start by examining the asyncio streaming logic there, focusing on the indentation. Run the example to see the current behavior, then adjust the indentation as suggested and test if the response now streams in chunks. Check for any existing tests or run the sample to verify the fix.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
backend
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
65/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。