Replies: 1 comment
-
fixed in https://sdk.vercel.ai/docs/ai-sdk-ui/streaming-data |
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
-
Multiple Streams with Vercel AI SDK while maintaining useChat
The Goal
Implement multiple sequential streams where:
streamText
useChat
functionality rather than implementing parallel streamsCurrent Implementation Attempt
The Challenge
While the parallel streams approach works (as shown in this example), we want to:
useChat
for the main AI streamQuestion
Is there a way to achieve this while maintaining the
useChat
implementation, rather than building a custom streaming solution? The goal is to show status updates (like "Searching in XYZ...") before the AI starts responding, while keeping the existing chat functionality intact.Beta Was this translation helpful? Give feedback.
All reactions