Closed DhrishP closed 2 months ago
@DhrishP is attempting to deploy a commit to the morphic Team on Vercel.
A member of the Team first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
morphic | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 9, 2024 6:51am |
Failed to compile.
--
15:41:31.590 |
15:41:31.590 | ./app/actions.tsx:255:3
15:41:31.590 | Type error: Object literal may only specify known properties, and 'unstable_onGetUIState' does not exist in type '{ actions: {}; initialAIState?: AIState \| undefined; initialUIState?: UIState \| undefined; onSetAIState?: OnSetAIState<AIState> \| undefined; onGetUIState?: OnGetUIState<...> \| undefined; }'.
15:41:31.590 |
15:41:31.590 | 253 \| initialUIState,
15:41:31.590 | 254 \| initialAIState,
15:41:31.590 | > 255 \| unstable_onGetUIState: async () => {
15:41:31.590 | \| ^
15:41:31.591 | 256 \| 'use server'
15:41:31.591 | 257 \|
15:41:31.591 | 258 \| const aiState = getAIState()
15:41:31.626 | error: script "build" exited with code 1
15:41:31.629 | Error: Command "bun run build" exited with 1
Updated the vercel AI sdk and changed the necessary imports for AI sdk version 3.1.3