-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Revert #1065 #1080
Revert #1065 #1080
Conversation
Looking into it, is this line missing a JSON.parse() ? Because the ToolCallPayload type shows arguments as a record but seems like they never get parsed from string. My bad for not exploring this further. ai/packages/core/streams/openai-stream.ts Line 608 in aab5324
The function call seems to be parsed: ai/packages/core/streams/openai-stream.ts Line 569 in aa46723
|
As per the OpenAI API docs, there should be a |
Same issue as Ido. Real bummer, as it means the main docs page example for flagship feature Generative AI straight up doesn’t work. The example only doesn’t crash cause it doesn’t care that flight number is passed as undefined. |
In #1084 I updated it so tool calls have their arguments go through |
this is happening again followed the example from here exactly https://sdk.vercel.ai/docs/concepts/ai-rsc @MaxLeiter @shuding |
cc @IdoPesok