Replies: 2 comments
-
No, the |
Beta Was this translation helpful? Give feedback.
0 replies
-
The structuredClone polyfill fixed it - here! |
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
-
I upgraded my SDK to this
"ai": "^4.1.16"
with"expo": "~52.0.20"
. I'm using these providers:To get it to work with Expo, I had to do these polyfills, which I didn't have to do before the version update.
Additionally, I had to change my
useChat
to use thisstreamProtocol: "text"
. Found this fix from these docs. However, I don't see why I need to do this because I'm not doing any of these things:My request that is done the same way the Expo docs work on the site where I am using
streamText
, a google model, and a tool call.Is there a reason that I still have to use the
streamProtocol: "text"
. I'm confused as to what chnaged into the SDK and why I need it now and have to write extra code to parse the message?Beta Was this translation helpful? Give feedback.
All reactions