Skip to content

docs(callbacks): align live after-agent callback timing - #2216

Open
jaywang172 wants to merge 1 commit into
google:mainfrom
jaywang172:docs/live-end-invocation
Open

docs(callbacks): align live after-agent callback timing#2216
jaywang172 wants to merge 1 commit into
google:mainfrom
jaywang172:docs/live-end-invocation

Conversation

@jaywang172

@jaywang172 jaywang172 commented Sep 10, 2026

Copy link
Copy Markdown

Summary

Update the after-agent callback timing note for Python to reflect that
end_invocation skips the callback in both async and live execution. The
companion runtime fix adds the missing post-execution check to run_live().

Companion runtime PR: google/adk-python#7081

Runtime issue: google/adk-python#7080

This guide update should land with or after the runtime fix.

Validation

  • mkdocs build --strict: passed; Pagefind indexed 235 pages.
  • git diff --check: passed.
  • Verified the timing against the companion four-case regression test and a
    local Runner.run_live() smoke test.

Only the existing lifecycle timing paragraph changes; generated API reference
files are untouched.

Document that ending an invocation skips after-agent callbacks in both Python execution modes.
@netlify

netlify Bot commented Sep 10, 2026

Copy link
Copy Markdown

Deploy Preview for adk-docs-preview ready!

Name Link
🔨 Latest commit 73a6411
🔍 Latest deploy log https://app.netlify.com/projects/adk-docs-preview/deploys/6aa2024d9e46f60008e54088
😎 Deploy Preview https://deploy-preview-2216--adk-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant