hollama icon indicating copy to clipboard operation
hollama copied to clipboard

Prevent streaming completions from re-rendering the view on every token

Open fmaclen opened this issue 10 months ago • 0 comments

When a completion is streaming from the server the variable is constantly being update so we are parsing the markdown response on every token.

This causes a weird behavior where it's hard to select and copy text because it immediately gets replaced with a new version.

fmaclen avatar Apr 11 '24 13:04 fmaclen