mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-03 07:24:59 -05:00
feat: cmd (ctrl) + shift + v (or other hotkey) to skip pasting as a file #5067
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wogam on GitHub (May 6, 2025).
Check Existing Issues
Problem Description
When paste large text as file is enabled, even smaller texts can become files. Additionally, sometimes you want the entire file in the chat box. Currently, there's no way to skip file creation when paste as large text is enabled.
Desired Solution you'd like
Apply cmd + shift + v (ctrl for windows) to paste without file creation.
Alternatives Considered
No response
Additional Context
No response
@Classic298 commented on GitHub (May 6, 2025):
That's a personal setting in your settings > interface. You toggled on "paste large text as file"
@wogam commented on GitHub (May 6, 2025):
Currently, when you have the "paste large text as a file" feature enabled, there's no hotkey (like
cmd + shift + vorctrl + shift + v) to bypass it. This means that even if you want to paste small texts directly into the chat, they might get uploaded as files instead.Pasting large texts (more than a few thousand tokens) is needed to avoid performance issues: https://github.com/open-webui/open-webui/discussions/13127
If you enable this setting and try to paste the SVG code below, it will be uploaded as a file. This can lead to poor context understanding for the model, as the code ends up at the end of the text instead of next to relevant commands like "make this SVG more round."
Example of the Issue
You might want to make changes to an SVG like this:
If it was next to your command, it would work fine. But if it's uploaded as a file, it might affect other parts of your context.
The feature request is to add a hotkey to paste directly into the chat even when "paste large text as a file" is enabled.
@tjbck commented on GitHub (May 26, 2025):
Added to dev.