fix: display user messages in chat interface #48
Reference in New Issue
Block a user
Delete Branch "fix/display-user-messages"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
When user sent a message, only the assistant's response was added to the frontend chat store. The user's message was saved in the backend database but never displayed in the frontend.
Solution
Add the user's message to the frontend store immediately when sending:
lgtm