Skip to content

fix: the RemoteA2AAgent does not support resumability and always transfers to the parent#1133

Open
copybara-service[bot] wants to merge 1 commit intomainfrom
test_898502514
Open

fix: the RemoteA2AAgent does not support resumability and always transfers to the parent#1133
copybara-service[bot] wants to merge 1 commit intomainfrom
test_898502514

Conversation

@copybara-service
Copy link
Copy Markdown

fix: the RemoteA2AAgent does not support resumability and always transfers to the parent

Only LLMAgent supported this via the disallowTransferToParent attribute
Add Resumable interface and test for runner resumability.
This change introduces the Resumable interface, allowing agents to indicate if they can be resumed from a previous state. Also the LLMAgent and RemoteA2A agent has been modified to implement this. Ea A new test case in RunnerResumabilityTest demonstrates how the runner can leverage this to resume execution from a resumable sub-agent based on the session history.

…sfers to the parent

Only LLMAgent supported this via the disallowTransferToParent attribute
Add Resumable interface and test for runner resumability.
This change introduces the `Resumable` interface, allowing agents to indicate if they can be resumed from a previous state. Also the LLMAgent and RemoteA2A agent has been modified to implement this. Ea A new test case in `RunnerResumabilityTest` demonstrates how the runner can leverage this to resume execution from a resumable sub-agent based on the session history.

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