Replies: 1 comment 1 reply
-
|
Like Why |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
in the doc:
orpc/apps/content/docs/integrations/ai-sdk.md
Line 116 in 4f6ce56
I'm confused by the wording. And the example redirects to the ai-chatbot repo which uses next.js backend. Does this mean orpc does not support the reconnectToStream implementation, and we should use another custom backend to implement this?
I tried this way:
In the orpc api route, i implement it to something like this:
I can confirm the
parsedStreamreturned the api route is existing and returned correctly. But this does not work in the frontend. Maybe I comsumed in a wrong way? On frontend, i got internal server error:Beta Was this translation helpful? Give feedback.
All reactions