Bug in Vercel AI SDK 3.1.1 #6747
Replies: 2 comments
-
Hello please where you able to fix this? i am having the same error |
Beta Was this translation helpful? Give feedback.
0 replies
-
This discussion was automatically locked because the community moved to a new site. Please join us at vercel.community |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Page to Investigate
https://sdk.vercel.ai/examples/next-app/tools/render-interface-during-function-call
Steps to Reproduce
The code for example is wrong or it has bugs, getting error -
Unhandled Runtime Error
Error: Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.
Source
src/app/page.tsx (31:61) @ onClick
29 | <button
30 | onClick={async () => {
31 | const { messages } = await continueConversation([
^
32 | ...conversation,
33 | { role: "user", content: input },
34 | ]);
Beta Was this translation helpful? Give feedback.
All reactions