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

Fix add message transition flickering #104

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

Stanley-Jovel
Copy link
Collaborator

@Stanley-Jovel Stanley-Jovel commented Dec 5, 2024

Describe the changes

  • When tapping 'Stop', the variable isGenerating was being set to true prematurely. Since stopping is already handled by outputting the end token from llama.cpp in the respond method. Removing this unnecessary assignment allows history to be rendered on time without flickering.

Before

ai2-stop-causes-snap.mov

After

Screen.Recording.2024-12-04.at.6.38.05.PM.mov

@jonryser jonryser requested a review from ThomasJones December 5, 2024 16:54
@Stanley-Jovel Stanley-Jovel merged commit 1c4b13d into release-20241118 Dec 5, 2024
1 check passed
@Stanley-Jovel Stanley-Jovel deleted the fix-add-message-transition branch December 5, 2024 19:13
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