Skip to content

Update restaurant finder sample#570

Merged
gspencergoog merged 1 commit intogoogle:mainfrom
nan-yu:update-restaurant-finder-sample
Feb 13, 2026
Merged

Update restaurant finder sample#570
gspencergoog merged 1 commit intogoogle:mainfrom
nan-yu:update-restaurant-finder-sample

Conversation

@nan-yu
Copy link
Collaborator

@nan-yu nan-yu commented Jan 28, 2026

Description

It updates the sample to use the A2uiSchemaManager from the a2ui-agent python SDK.

Tested:

  • The restaurant angular client successfully connected to the restaurant_finder agent and rendered the response correctly.

Pre-launch Checklist

If you need help, consider asking for advice on the discussion board.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new a2ui-agent Python SDK to centralize schema management and updates the existing samples to use it. This is a great architectural improvement that removes hardcoded schemas from the samples and makes them more maintainable. The new A2uiSchemaManager provides a robust way to load, bundle, and validate schemas, with fallbacks for different execution environments. My review focuses on improving the robustness of the new SDK, particularly around exception handling and ensuring functions are side-effect-free.

@nan-yu nan-yu force-pushed the update-restaurant-finder-sample branch 2 times, most recently from 5ccd1fd to 4bd12e5 Compare February 12, 2026 00:06
@nan-yu nan-yu force-pushed the update-restaurant-finder-sample branch from 4bd12e5 to 1fdda40 Compare February 12, 2026 18:11
@nan-yu nan-yu requested a review from zeroasterisk as a code owner February 12, 2026 18:11
@zeroasterisk
Copy link
Collaborator

Heads up: this PR overlaps with #559 on the CI workflow changes. Will need a rebase after #559 merges.

@google google deleted a comment from gemini-code-assist bot Feb 13, 2026
@nan-yu nan-yu force-pushed the update-restaurant-finder-sample branch from 1fdda40 to d5d457e Compare February 13, 2026 21:27
It updates the sample to use the A2uiSchemaManager from the a2ui-agent
python SDK.

Tested:
- [x] The `restaurant` angular client successfully connected to the
  `restaurant_finder` agent and rendered the response correctly.
@nan-yu nan-yu force-pushed the update-restaurant-finder-sample branch from d5d457e to 50f0e55 Compare February 13, 2026 21:30
@gspencergoog gspencergoog merged commit 9cdc79b into google:main Feb 13, 2026
4 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in A2UI Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants