Closed DevanshArora312 closed 1 month ago
I have added code to disable the buttons until the AI response is displayed, but it seems not to be working. We need to fix this so that users cannot send any messages until the AI response is displayed.
And if you are using PINAC-Nexus, you would report any issue you face.
The disable issue may be easy to work out with some testing, I have some ideas about it, will update after testing it. And I am using PINAC-Nexus but I'm not really familiar with how models work, hence I was unable to set it up properly, so i was just emulating response after making the program sleep for some seconds.
This PR was initially exclusively meant as enhancement for typing animations but since it created a separate state in AiMessage component it also fixed the duplicate message issue to some extent.