Skip to content

feat: support pausing and resuming a session invocation - #1473

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_973694952
Open

feat: support pausing and resuming a session invocation#1473
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_973694952

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Aug 31, 2026

Copy link
Copy Markdown

feat: support pausing and resuming a session invocation

When enabled via ResumabilityConfig, an invocation that issues a long-running
function call pauses and resumes later from durable per-agent checkpoints, for
LlmAgent, SequentialAgent, LoopAgent and ParallelAgent -- via runAsync and a new
resumeAsync entry point. A long-running tool that returns a value is summarized in
the same turn instead of pausing; only a no-result return pauses. Behavior is
unchanged unless resumability is enabled.

When enabled via ResumabilityConfig, an invocation that issues a long-running
function call pauses and resumes later from durable per-agent checkpoints, for
LlmAgent, SequentialAgent, LoopAgent and ParallelAgent -- via runAsync and a new
resumeAsync entry point. A long-running tool that returns a value is summarized in
the same turn instead of pausing; only a no-result return pauses. Behavior is
unchanged unless resumability is enabled.

PiperOrigin-RevId: 973694952
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