Skip to content
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

Use new http stream format in the new UX #874

Merged

Conversation

sabaimran
Copy link
Member

Use updated format for HTTP streamed responses from the Khoj server in the new chat UX
Remove references to the websocket connected field, as websocket use has been deprecated

…ponse

- Note that the SSR for next doesn't support rendering on the client-side, so it'll only update it one big chunk
- Fix unique key error in the chatmessage history for incoming messages
- Remove websocket value usage in the chat history side panel
- Remove other websocket code from the chat page
…ome page

- Load agents only once when the page loads, rather than triggering constant re-renders
src/interface/web/app/share/chat/page.tsx Outdated Show resolved Hide resolved
src/interface/web/app/share/chat/page.tsx Outdated Show resolved Hide resolved
@sabaimran sabaimran merged commit 5a8ea88 into features/big-upgrade-chat-ux Aug 2, 2024
5 checks passed
@sabaimran sabaimran deleted the features/use-new-sse-in-new-chat-ux branch August 2, 2024 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants