a2aproject / a2aproject/a2a-samples

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

Offen
#15 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Jupyter Notebook
Sterne
1.8k
Forks
751
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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!

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.