8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1393965 commit f96cdc6Copy full SHA for f96cdc6
src/google/adk/tools/agent_tool.py
@@ -146,11 +146,12 @@ async def run_async(
146
147
if runner.artifact_service:
148
# Forward all artifacts to parent session.
149
- async for artifact_name in runner.artifact_service.list_artifact_keys(
+ artifact_names = await runner.artifact_service.list_artifact_keys(
150
app_name=session.app_name,
151
user_id=session.user_id,
152
session_id=session.id,
153
- ):
+ )
154
+ for artifact_name in artifact_names:
155
if artifact := await runner.artifact_service.load_artifact(
156
157
0 commit comments