Skip to content

NextJS - Module not found: Can't resolve 'ai/react' - is the error I am facing while setting up import for useChat - in my nextjs app - latest version #4249

Closed Answered by shivankkunwar
shivankkunwar asked this question in Help
Discussion options

You must be logged in to vote

just do this
import { useChat } from "@ai-sdk/react"

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by shivankkunwar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant