You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to copy a response to the clipboard when streaming, at most 1 letter seems to be selected.
It appears to work correctly when using the demo assistants (where there is no streaming).
How to reproduce the bug?
Select an assistant that involves streaming and try to copy the response with the button.
Versions and dependencies used
No response
Anything else?
The logic is contained in central_view.py. A ReactiveHTML component is created for CopyToClipboardButton. I think that when we are streaming, we are not passing the full value to this component.
The text was updated successfully, but these errors were encountered:
I don't think we have ever selected a correct behavior here. I think there are two options:
Copy whatever message fragment is already there
Disable the copy button until streaming is done and afterwards copy the whole message
Of those two I would prefer 2. But we should look around how others, i.e. OpenAI / Anthropic / ..., handle this. No need to diverge here if there is an established behavior.
Bug description
When I try to copy a response to the clipboard when streaming, at most 1 letter seems to be selected.
It appears to work correctly when using the demo assistants (where there is no streaming).
How to reproduce the bug?
Select an assistant that involves streaming and try to copy the response with the button.
Versions and dependencies used
No response
Anything else?
The logic is contained in
central_view.py
. A ReactiveHTML component is created forCopyToClipboardButton
. I think that when we are streaming, we are not passing the full value to this component.The text was updated successfully, but these errors were encountered: