Originally created by @wogam on GitHub (May 6, 2025).
Check Existing Issues
I have searched the existing issues and discussions.
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
Originally created by @wogam on GitHub (May 6, 2025).
### Check Existing Issues
- [x] I have searched the existing issues and discussions.
### 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_
That's a personal setting in your settings > interface. You toggled on "paste large text as file"
Currently, when you have the "paste large text as a file" feature enabled, there's no hotkey (like cmd + shift + v or ctrl + 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.
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.
@wogam commented on GitHub (May 6, 2025):
> That's a personal setting in your settings > interface. You toggled on "paste large text as file"
Currently, when you have the "paste large text as a file" feature enabled, there's no hotkey (like `cmd + shift + v` or `ctrl + 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:
```svg
<svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <path d="M3.95706 1.45712L1.45706 3.95712L0.0428467 2.54291L2.54285 0.0429077L3.95706 1.45712Z" fill="#000000"></path> <path fill-rule="evenodd" clip-rule="evenodd" d="M14.4999 8.50003C14.4999 9.80523 14.1152 11.0206 13.453 12.0389L15.707 14.2929L14.2928 15.7071L12.1163 13.5307C10.9954 14.449 9.56199 15 7.99986 15C6.43776 15 5.00436 14.449 3.88344 13.5307L1.70701 15.7071L0.2928 14.2929L2.54678 12.0389C1.88457 11.0206 1.49986 9.80525 1.49986 8.50003C1.49986 4.91018 4.41001 2.00003 7.99986 2.00003C11.5897 2.00003 14.4999 4.91018 14.4999 8.50003ZM6.99995 5V9.41421L9.29285 11.7071L10.7071 10.2929L8.99995 8.58579V5H6.99995Z" fill="#000000"></path> <path d="M14.5428 3.95714L12.0428 1.45714L13.457 0.0429222L15.957 2.54292L14.5428 3.95714Z" fill="#000000"></path> </g></svg>
```
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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.