-
Notifications
You must be signed in to change notification settings - Fork 485
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
Error running code on Vercel edge environment #531
Comments
Would you be able to proceed without using the edge function? Is that a hard requirement? |
We use it to stream responses from the LLM when tools are in use. I believe it is a very common and recommended environment by Vercel for handling streaming. Thank you for support! |
Hey @olefirenko, after looking into it, it seems the package we're using for RPC isn't compatible with the edge environment. This was discussed in this thread: connectrpc/connect-es#1082. I've tried reaching out there, but haven't received a response yet. It looks like we might need to address this ourselves. How urgent is this issue for you? |
@jakubno Thanks a lot for looking into this. Not very urgent. Take your time and thanks for a great support! |
Meanwhile, if this becomes a blocker - you might consider switching to the regular (non-edge) runtime. I will also verify and document runtimes that are working with our SDK and for the ones which don't, I will explain the cause and offer mitigation steps. Thank you for your help here! |
I got this error when running the code on Vercel edge:
When I run the code locally it works fine, no issues. The code is creating the Word docx file and then I am trying to download it.
The library version is 1.0.4.
The text was updated successfully, but these errors were encountered: