Skip to content

Commit 7720616

Browse files
pwwpchecopybara-github
authored andcommitted
chore: Update comment to clarify after_run callbacks
PiperOrigin-RevId: 802852137
1 parent cecf7e8 commit 7720616

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/google/adk/runners.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,9 @@ async def _exec_with_plugin(
296296
)
297297
yield (modified_event if modified_event else event)
298298

299-
# Step 4: Run the after_run callbacks to optionally modify the context.
299+
# Step 4: Run the after_run callbacks to perform global cleanup tasks or
300+
# finalizing logs and metrics data.
301+
# This does NOT emit any event.
300302
await plugin_manager.run_after_run_callback(
301303
invocation_context=invocation_context
302304
)

0 commit comments

Comments
 (0)