The component prompt-input is broken because of the types which we are getting from ai package.
import type { ChatStatus, FileUIPart, SourceDocumentUIPart } from "ai";
Error I get:
Module '"ai"' has no exported member 'ChatStatus'.
'"ai"' has no exported member named 'FileUIPart'. Did you mean 'FilePart'?
Module '"ai"' has no exported member 'SourceDocumentUIPart'.
Looks like the ai package has changed. Need help to fix this issue.
The component
prompt-inputis broken because of the types which we are getting fromaipackage.Error I get:
Looks like the
aipackage has changed. Need help to fix this issue.