Skip to content

refactor: add Role.USER constant for the "user" content role and event author - #1495

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_978612444
Sep 10, 2026
Merged

copybara-service[bot] merged 1 commit into
mainfrom
test_978612444

Conversation

@copybara-service

Copy link
Copy Markdown

refactor: add Role.USER constant for the "user" content role and event author

Adds com.google.adk.agents.Role with a USER constant and uses it in place of the bare "user" string for both Content roles and event authors. No behavior change.

@copybara-service
copybara-service Bot force-pushed the test_978612444 branch 3 times, most recently from 3c15cf6 to cfba6ca Compare September 10, 2026 08:54
…t author

Adds com.google.adk.agents.Role with a USER constant and uses it in place of the bare "user" string for both Content roles and event authors. No behavior change.

PiperOrigin-RevId: 979039233
@copybara-service
copybara-service Bot merged commit 898857e into main Sep 10, 2026
4 checks passed
@copybara-service
copybara-service Bot deleted the test_978612444 branch September 10, 2026 08:55
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