UNPKG

ai

Version:

AI SDK by Vercel - build apps like ChatGPT, Claude, Gemini, and more with a single interface for any model using the Vercel AI Gateway or go direct to OpenAI, Anthropic, Google, or any other model provider.

17 lines (11 loc) 407 B
--- title: Streamable UI Errors description: Troubleshooting errors related to streamable UI. --- # Streamable UI Component Error ## Issue - Variable Not Found - Cannot find `div` - `Component` refers to a value, but is being used as a type ## Solution If you encounter these errors when working with streamable UIs within server actions, it is likely because the file ends in `.ts` instead of `.tsx`.