Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

chore: Copies latest session state to the passed-in session for runAsync with Session#509

Merged
copybara-service[bot] merged 1 commit intomaingoogle/adk-java:mainfrom
test_820077843google/adk-java:test_820077843Copy head branch name to clipboard
Oct 17, 2025
Merged

chore: Copies latest session state to the passed-in session for runAsync with Session#509
copybara-service[bot] merged 1 commit intomaingoogle/adk-java:mainfrom
test_820077843google/adk-java:test_820077843Copy head branch name to clipboard

Conversation

@copybara-service
Copy link

chore: Copies latest session state to the passed-in session for runAsync with Session

NOTE: runAsync with Session object was an early interface and doesn't comply with ADK interfaces across languages. Adding this behavior back is to temporarily restore previous behavior.

Here are some clarifications of the behavior:

  • Any changes to the passed-in Session object at runAsync callsite won't affect agent run;
  • Callsite should always use session service to get latest session if they need to access session, instead of reading into the passed-in session object.
  • All runAsync with Session object will be deprecated and removed in future versions.

…ync with Session

NOTE: `runAsync` with `Session` object was an early interface and doesn't comply with ADK interfaces across languages. Adding this behavior back is to temporarily restore previous behavior.

Here are some clarifications of the behavior:

- Any changes to the passed-in `Session` object at `runAsync` callsite won't affect agent run;
- Callsite should always use session service to get latest session if they need to access session, instead of reading into the passed-in session object.
- All runAsync with Session object will be deprecated and removed in future versions.

PiperOrigin-RevId: 820571672
@copybara-service copybara-service bot merged commit ab4cb4c into main Oct 17, 2025
@copybara-service copybara-service bot deleted the test_820077843 branch October 17, 2025 07:38
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

Comments

Close sidebar
Morty Proxy This is a proxified and sanitized view of the page, visit original site.