Update examples for deploying A2UI in Agent Engine#1208
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the Gemini Enterprise agent samples to use a2ui-agent-sdk v0.1.2, disables streaming, and refactors TaskUpdater logic. Feedback highlights critical issues including unresolved merge conflict markers in several files and the omission of contact_data.json from the deployment package, which will cause runtime errors. Additionally, it is recommended to restore dynamic UI extension activation and revert the use of print statements back to the logging module for better consistency and observability.
Comment on lines
+29
to
+33
| <<<<<<< HEAD | ||
| "a2ui-agent-sdk>=0.1.1", | ||
| ======= | ||
| "a2ui-agent-sdk", | ||
| >>>>>>> main |
Contributor
Comment on lines
+33
to
+37
| <<<<<<< HEAD | ||
| from a2ui.a2a import try_activate_a2ui_extension | ||
| ======= | ||
| from a2ui.a2a.extension import try_activate_a2ui_extension | ||
| >>>>>>> main |
Contributor
holtskinner
approved these changes
Apr 16, 2026
nan-yu
reviewed
Apr 20, 2026
| new_task, | ||
| ) | ||
| from a2a.utils.errors import ServerError | ||
| from a2ui.a2a.extension import try_activate_a2ui_extension |
Collaborator
There was a problem hiding this comment.
The package path was incorrect. #1234 fixed it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.
List which issues are fixed by this PR. For larger changes, raising an issue first helps reduce redundant work.
Pre-launch Checklist
If you need help, consider asking for advice on the discussion board.