A2UIRenderer
Parameters
How each component of the basic catalog looks, and which of them the agent can use: one removed with A2UICatalog.removing isn't in the catalog the agent is told about. The app's components look as they draw themselves.
The id the agent names the catalog with the app's components by.
What the agent's model is told before A2UI's own instructions, such as which answers to write as UI and when to use the app's components.
The URL an image, video or audio clip loads from, given the one the agent wrote, or null to not load it, such as to load media from the app's own storage or through its CDN. The agent writes these URLs, so return only ones the app trusts. It runs while the reply draws, on the main thread. Images load only from web links whatever it returns. Without it, only web links load.
Receives each problem with a reply's A2UI that A2UI reports to the agent, such as a message that doesn't read, with the reply's message id. A chat has no channel for them, so forward them to your backend if the agent should hear about them. Without it, the problems go to the log.