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

Add Copy Code When Done Generation button to code blocks #44

Open
jackschedel opened this issue Jul 31, 2023 · 3 comments
Open

Add Copy Code When Done Generation button to code blocks #44

jackschedel opened this issue Jul 31, 2023 · 3 comments
Labels
feature Fairly major behavior overhaul or addition

Comments

@jackschedel
Copy link
Owner

No description provided.

@jackschedel jackschedel added good first issue Good for newcomers feature Fairly major behavior overhaul or addition labels Jul 31, 2023
@cheeseonamonkey
Copy link
Contributor

cheeseonamonkey commented Aug 5, 2023

I think the copy button UI appears to be blocked entirely until the message is finished generating.

I notice this all the time but now I realize it's more complex than I thought, but it seems to happen when there are a lot of tokens:

  1. fill up the chat with 3500+ tokens for a request
  2. ask for some code with an explanation after
  3. after the code block is finished, but before the message is finished, the copy button will not work or may lag for several seconds

@jackschedel
Copy link
Owner Author

i havent noticed this issue myself, might be poorly optimized or something. I'm basically always using the Electron version and on a pretty good computer. does this only happen on web/a bad pc?

@jackschedel
Copy link
Owner Author

im going to wait work on this issue until cheese's PR is done since it revamps code block implementation under the hood

@jackschedel jackschedel removed the good first issue Good for newcomers label Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Fairly major behavior overhaul or addition
Projects
None yet
Development

No branches or pull requests

2 participants