The ai/react import is failing to load in the v0 environment.
Prompt to recreat the issue:
Create a Next.js chatbot app using the Vercel AI SDK with the following:1. A chat interface with a sidebar that displays AI responses2. Use streamText() from the AI SDK in an API route at /api/chat3. Pass model strings like “openai/gpt-4o” directly to streamText (not model objects)4. Also create a component generation feature that uses generateObject() with Zod schemas5. The generateObject should also receive model strings like "anthropic/claude-sonnet-4.5"6. Use the useChat hook from ‘ai/react’ on the client side7. Include error handling that catches and displays AI SDK errorsMake sure to:- Import streamText and generateObject from ‘ai’- Pass model as a string parameter (e.g., model: “openai/gpt-4o”)- Don’t create any provider instances manually- Let the AI SDK handle gateway routing automatically