You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously I was using AI SDK v2.2.37. which was working fine with huggingface untill I had to implement Google Generative AI. I did not wanted to implement legacy Google Generative AI so I updated ai SDK to v3.2.37.
after update, GoogleGenerative AI is working as well as legacy huggingface locally, but when deployed on vercel preview, huggingface is giving error when stream generated from HuggingFaceStream passed to StreamingTextResponse getting 405 Method not Allowed.
Same code works for google and huggingface locally.
Description
Previously I was using
AI SDK
v2.2.37. which was working fine with huggingface untill I had to implementGoogle Generative AI
. I did not wanted to implement legacy Google Generative AI so I updatedai SDK
to v3.2.37.after update, GoogleGenerative AI is working as well as legacy huggingface locally, but when deployed on vercel preview, huggingface is giving error when stream generated from
HuggingFaceStream
passed toStreamingTextResponse
getting 405 Method not Allowed.Same code works for google and huggingface locally.
Is this bug in package or in vercel?
Code example
Additional context
getStreamEvents()
is simply returning and object withonStart
andonFinish
callbacks.The text was updated successfully, but these errors were encountered: