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

Ui/chore/async-message-loading #440

Conversation

ryanhopperlowe
Copy link
Contributor

@ryanhopperlowe ryanhopperlowe commented Nov 5, 2024

This PR updates the agent chat to load all messages asynchronously through an event stream.

  • rendering is blocked until all previous messages are loaded (indicated by the replayComplete flag)

Signed-off-by: Ryan Hopper-Lowe [email protected]

@tylerslaton
Copy link
Contributor

Is this behavior intentional? Seems a bit weird to drop the optimistic rendering of the user's message.

Screen.Recording.2024-11-05.at.11.39.09.AM.mov

@cjellick
Copy link
Contributor

cjellick commented Nov 5, 2024

Is this behavior intentional? Seems a bit weird to drop the optimistic rendering of the user's message.

@tylerslaton - yeah - we discussed with darren. he said to drop the optimistic rendinering of the user message and he intends to compensate a bit on the server side (though itll still have to deal with network latency)

Copy link
Contributor

@tylerslaton tylerslaton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me from the UI side (barring conflicts, should be good with a simple rebase)

@ryanhopperlowe ryanhopperlowe force-pushed the ui/chore/async-message-loading branch from dbdbf2f to a0731cc Compare November 5, 2024 19:27
@ryanhopperlowe ryanhopperlowe merged commit 59460f1 into obot-platform:main Nov 5, 2024
1 check passed
@ryanhopperlowe ryanhopperlowe deleted the ui/chore/async-message-loading branch November 5, 2024 19:29
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.

3 participants