data-science agent failed with TypeError: 'async for' requires an object with __aiter__ method, got coroutine
Running the data-science agent sample, it runs into an error that breaks the process. Anyones knows is this a known issue? how to solve it to run data-science agent?
src/google/adk/tools/agent_tool.py", line 149, in run_async async for artifact_name in runner.artifact_service.list_artifact_keys( TypeError: 'async for' requires an object with aiter method, got coroutine 2025-05-08 11:03:25,582 - ERROR - init.py:157 - Failed to detach context
Hi @nostalgicimp - sorry for the delay. Can you clarify if you are facing the issues still with the latest ADK version?
This was likely an issue with the ADK migration to async API calls. Please re-open if this is still occurring.