a2aproject / a2aproject/a2a-samples
Streaming Problem in samples/python/agents/google_adk/task_manager.py
- 主要言語
- 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