ToolFallback
Overview
The ToolFallback component displays a default ToolUI for tools that do not have a dedicated ToolUI.
Getting Started
Add tool-fallback
This adds a /components/assistant-ui/tool-fallback.tsx
file to your project, which you can adjust as needed.
Use it in your application
Pass the ToolFallback
component to the MessagePrimitive.Content
component