Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Title: [Fix #94] Updated AI Sdk #128

Merged
merged 4 commits into from
May 9, 2024
Merged

Title: [Fix #94] Updated AI Sdk #128

merged 4 commits into from
May 9, 2024

Conversation

DhrishP
Copy link
Contributor

@DhrishP DhrishP commented May 9, 2024

Updated the vercel AI sdk and changed the necessary imports for AI sdk version 3.1.3

Copy link

vercel bot commented May 9, 2024

@DhrishP is attempting to deploy a commit to the morphic Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented May 9, 2024

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

@miurla
Copy link
Owner

miurla commented May 9, 2024


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


@DhrishP DhrishP closed this May 9, 2024
Copy link
Owner

@miurla miurla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@miurla miurla merged commit 5a68a72 into miurla:main May 9, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants