Issue:
When I click the Copy button on a model response, the clipboard contains text that was never visible in the UI. The screen shows a short response (e.g., 1–2 sentences), but the copied text includes a much longer hidden paragraph.
Steps to reproduce:
- Generate a response (especially with reasoning/instruct models like DeepSeek or DarkIdol).
- The UI displays a shortened or rewritten answer.
- Click the Copy button.
- Paste into a text editor.
Expected:
Clipboard matches exactly what is visible on screen.
Actual:
Clipboard includes hidden or previously generated text that was not rendered.
Likely cause:
Copy button appears to be bound to the raw generation buffer or token stream, not the rendered DOM output.
This is the same “copy-from-buffer vs copy-from-DOM” issue seen in other local LLM UIs with streaming or post-processed output.