Remove notion of "custom catalogs" from agent SDK#705
Remove notion of "custom catalogs" from agent SDK#705nan-yu wants to merge 5 commits intogoogle:mainfrom
Conversation
It updates the sample to use the A2uiSchemaManager from the a2ui-agent python SDK. Tested: - [x] The `rizzcharts` Angular client successfully connected to the `rizzcharts` agent and rendered the response correctly.
There was a problem hiding this comment.
Code Review
This is a substantial but well-executed refactoring that removes the concept of "custom catalogs" needing runtime resolution, in favor of pre-bundled, self-contained catalogs. The changes centralize schema and validation logic, simplify the A2uiSchemaManager API, and improve the overall architecture. The test suite has been commendably updated to cover the new structure. I have one suggestion for a minor performance optimization.
a2a_agents/python/a2ui_agent/src/a2ui/inference/schema/manager.py
Outdated
Show resolved
Hide resolved
30e5bb1 to
aaf183d
Compare
The basic catalog maintained by the A2UI team has no difference from third-party catalogs. This PR removes the notion of custom catalogs. Each catalog provided at runtime should be independent and immutable. At build time, catalogs can refer to components from other catalogs. They need to be bundled into a free-standing one using the `tools/build_catalog/build_catalog.py` script. Fixes google#650
aaf183d to
27bb573
Compare
|
/gemini summary |
Summary of ChangesThis pull request significantly refactors the A2UI SDK's approach to managing UI component catalogs. By eliminating the distinction of 'custom catalogs' and introducing a unified Highlights
Changelog
|
Description
The basic catalog maintained by the A2UI team has no difference from third-party catalogs.
This PR removes the notion of custom catalogs. Each catalog provided at runtime should be independent and immutable. At build time, catalogs can refer to components from other catalogs. They need to be bundled into a
free-standing one using the
tools/build_catalog/build_catalog.pyscript.Fixes: #650
Pre-launch Checklist
If you need help, consider asking for advice on the discussion board.