pinacai / PINAC_Workspace

OpenSource & Cross-Platform alternative of "Copilot for Windows"
GNU General Public License v3.0
17 stars 23 forks source link

Enhancement : A button to stop AI from generating text. #27

Closed DevanshArora312 closed 1 month ago

DevanshArora312 commented 1 month ago

A new addition to the home page, when the AI types message we can add a button so that user can stop it from typing if the content seems undesirable and not wait for whole content being written to write a new prompt.

I have more or less written the code for this issue, but it involves using ContextAPI for a little complex state management . Also I have added React-Icons package for the icon itself.

@RajeshTechForge , if there is no issue integrating these new features as well as the new package, I'll create a PR soon.

github-actions[bot] commented 1 month ago

Message that will be displayed on users' first issue

RajeshTechForge commented 1 month ago

No issue with it, it's a much awaited feature. Go ahead.