Open KylerD opened 1 month ago
I updated ai from 2.2.37 to 3.2.37 and now huggingface is not working and is giving 405 error when stream generated from HuggingfaceStream()
to StreamTextResponse()
.
It works locally but fails when deployed on vercel.
Description
Version:
Using App Router
Route (
/api/chat
)Client Component:
This code streams successfully locally, but not once deployed to vercel. All routes and components in this application are dynamic and follow the suggestions from https://sdk.vercel.ai/docs/troubleshooting/common-issues/streaming-not-working-on-vercel
Any idea what I'm missing?
Code example
No response
Additional context
No response