-
Hi! Is useChat designed to be used together with streamObject? What/how should I return from my api endpoint that calls streamObject for useChat to parse it correctly? Now my code looks like this
And I'm trying to use the endpoint like this:
With streamMode: text nothing is returned. And with 'stream-data' I get a parsing error 🤷♂️ 😢 |
Beta Was this translation helpful? Give feedback.
Answered by
lgrammel
Jun 14, 2024
Replies: 1 comment 6 replies
-
|
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
lgrammel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
streamObject
cannot be used withuseChat
.