[GH-ISSUE #24233] feat: toggle all/specific attachments in a conversation to save tokens #58900

Closed
opened 2026-05-06 00:23:08 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @random42 on GitHub (Apr 29, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/24233

Check Existing Issues

  • I have searched for all existing open AND closed issues and discussions for similar requests. I have found none that is comparable to my request.

Verify Feature Scope

  • I have read through and understood the scope definition for feature requests in the Issues section. I believe my feature request meets the definition and belongs in the Issues section instead of the Discussions.

Problem Description

Uploaded images are often not needed anymore after a number of messages in a chat and they use a lot of input tokens.

Desired Solution you'd like

  • I can enable and disable all attachments in a conversation
  • I can enable and disable specific attachments in a conversation
  • I have a configurable and optional prompt that gets added at the end of the last user message if some attachments are disabled to give context that they have been in the conversation before. Something like: "Previous attachments {{DISABLED_ATTACHMENTS}} have been removed from the conversation".
  • disabled attachments would be greyed out

Alternatives Considered

No response

Additional Context

No response

Originally created by @random42 on GitHub (Apr 29, 2026). Original GitHub issue: https://github.com/open-webui/open-webui/issues/24233 ### Check Existing Issues - [x] I have searched for all existing **open AND closed** issues and discussions for similar requests. I have found none that is comparable to my request. ### Verify Feature Scope - [x] I have read through and understood the scope definition for feature requests in the Issues section. I believe my feature request meets the definition and belongs in the Issues section instead of the Discussions. ### Problem Description Uploaded images are often not needed anymore after a number of messages in a chat and they use a lot of input tokens. ### Desired Solution you'd like - I can enable and disable all attachments in a conversation - I can enable and disable specific attachments in a conversation - I have a configurable and optional prompt that gets added at the end of the last user message if some attachments are disabled to give context that they have been in the conversation before. Something like: "Previous attachments {{DISABLED_ATTACHMENTS}} have been removed from the conversation". - disabled attachments would be greyed out ### Alternatives Considered _No response_ ### Additional Context _No response_
Author
Owner

@Classic298 commented on GitHub (May 1, 2026):

You can remove attachments in the side panel in the chat controls

Does that cover this?

Quite a fundamental feature request - to my knowledge no interface has a pure "disable" and "enable" ability as you describe it. Probably because it would also break KV Cache multiple times over. Needs discussion.

<!-- gh-comment-id:4360819982 --> @Classic298 commented on GitHub (May 1, 2026): You can remove attachments in the side panel in the chat controls Does that cover this? Quite a fundamental feature request - to my knowledge no interface has a pure "disable" and "enable" ability as you describe it. Probably because it would also break KV Cache multiple times over. Needs discussion.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#58900