jackschedel / KoalaClient

The best LLM API Playground Interface (for me)
https://client.koaladev.io/
Creative Commons Zero v1.0 Universal
26 stars 8 forks source link

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

Open jackschedel opened 11 months ago

cheeseonamonkey commented 11 months ago

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 commented 11 months ago

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 commented 10 months ago

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