Replies: 3 comments 2 replies
-
app/page.tsx
app/api/element-property.ts
|
Beta Was this translation helpful? Give feedback.
0 replies
-
⨯ Error: No response is returned from route handler 'src/app/api/element-property/route.ts'. Ensure you return a |
Beta Was this translation helpful? Give feedback.
2 replies
-
https://sdk.vercel.ai/docs/ai-sdk-ui/completion this worked!! for me complete() was causing error in the backend Thanks. |
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 found https://sdk.vercel.ai/examples/next-pages/basics/streaming-text-generation and https://sdk.vercel.ai/examples/next-app/basics/streaming-text-generation
is it possible to use useCompletion in app router with api?
Beta Was this translation helpful? Give feedback.
All reactions