anything-llm icon indicating copy to clipboard operation
anything-llm copied to clipboard

[BUG]: Copy response omits some content

Open frost19k opened this issue 2 months ago • 4 comments

How are you running AnythingLLM?

Docker (local)

What happened?

If a model's response contains more than one code block, the code within the second block onwards does not get copied to the clipboard - when clicking the cope response button at the bottom. You have to manually copy the code with the copy code function of said block.

Are there known steps to reproduce?

Get the model to produce a response with more than one code block. Try "Generate a simple python flask app as well as an html landing page as a demonstration"

Click the copy response button to copy the whole response text.

Paste into a text editor and observe.

frost19k avatar May 11 '24 09:05 frost19k