-
Notifications
You must be signed in to change notification settings - Fork 6
Migrate Streams API #773
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
Migrate Streams API #773
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
55e7142
to
2c1e822
Compare
PR Type
Enhancement, Bug fix
Description
Migrate Streams API to Next.js server routes
Replace client
upsertStream
with fetch callsAdd retry logic to Redis client operations
Improve error handling in websockets & prompt manager
Changes walkthrough 📝
7 files
Refactor upsert logic and remove getStreamUrl
Add createStream server action
Migrate stream form to fetch-based API calls
Use fetch POST for playground stream creation
Add PATCH route for stream updates
Implement updateStream server action
Replace upsert with createStream in POST route
1 files
Fix `usePrivy` import path
3 files
Add retry and reconnection logic to Redis client
Log Redis errors as warnings
Catch broken pipe errors in WebSocket send
2 files