-
Notifications
You must be signed in to change notification settings - Fork 466
Open
Description
Hi, I love what you're doing with this, but I feel like I'm hitting a bottleneck. Trying to use it with the AI SDK, but in a slightly different way than what you describe in your documentation, has become very difficult to implement correctly.
For example, in my back end, I implemented the catalog along with a tool. Besides returning the elements to be rendered, it also returns extra information for a custom iframe that renders everything.
And in the front end, I had to do this to be able to display everything correctly:
const UIContent = () => (
<DataProvider initialData={{ form: {} }}>
<VisibilityProvider>
<ActionProvider handlers={actionHandlers}>
<Renderer tree={ui.tree} registry={shadcnRegistry} />
</ActionProvider>
</VisibilityProvider>
</DataProvider>
);Even so, I haven’t been able to obtain the results shown in the documentation. Any suggestions would be welcome, or a note about improvements to the documentation would be appreciated. :D
JoseCortezz25
Metadata
Metadata
Assignees
Labels
No labels