anything-llm
anything-llm copied to clipboard
[BUG]: Copy response omits some content
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.