Skip to content

webui: Add editing attachments in user messages#18147

Merged
allozaur merged 10 commits intoggml-org:masterfrom
allozaur:17206-allow-editing-attachments-in-past-user-messages
Dec 19, 2025
Merged

webui: Add editing attachments in user messages#18147
allozaur merged 10 commits intoggml-org:masterfrom
allozaur:17206-allow-editing-attachments-in-past-user-messages

Conversation

@allozaur
Copy link
Contributor

@allozaur allozaur commented Dec 17, 2025

Close #17206

  • Improved form UI component for editing user messages with options to choose model and attach files
  • Allow removing/adding files to edited message
  • Allow to update edited message without re-generating

Demo

demo.mp4

@allozaur allozaur force-pushed the 17206-allow-editing-attachments-in-past-user-messages branch from f51858d to f804a1d Compare December 18, 2025 17:06
@allozaur allozaur requested review from ggerganov and ngxson December 18, 2025 17:06
@allozaur allozaur marked this pull request as ready for review December 18, 2025 17:06
@ggerganov
Copy link
Member

ggerganov commented Dec 18, 2025

Can drag images in the edit box, but cannot paste image (Cmd + V) in it. Pasting images in the normal message box at the bottom of the screen works.

@allozaur
Copy link
Contributor Author

Can drag images in the edit box, but cannot paste image (Cmd + V) in it. Pasting images in the normal message box at the bottom of the screen works.

Good catch @ggerganov! Just patched it, should be working 1:1 as the main Chat Form now :)

@allozaur allozaur merged commit acb73d8 into ggml-org:master Dec 19, 2025
10 checks passed
@allozaur allozaur deleted the 17206-allow-editing-attachments-in-past-user-messages branch December 19, 2025 10:20
Anico2 added a commit to Anico2/llama.cpp that referenced this pull request Jan 15, 2026
* feat: Enable editing attachments in user messages

* feat: Improvements for data handling & UI

* docs: Update Architecture diagrams

* chore: update webui build output

* refactor: Exports

* chore: update webui build output

* feat: Add handling paste for Chat Message Edit Form

* chore: update webui build output

* refactor: Cleanup

* chore: update webui build output
blime4 referenced this pull request in blime4/llama.cpp Feb 5, 2026
* feat: Enable editing attachments in user messages

* feat: Improvements for data handling & UI

* docs: Update Architecture diagrams

* chore: update webui build output

* refactor: Exports

* chore: update webui build output

* feat: Add handling paste for Chat Message Edit Form

* chore: update webui build output

* refactor: Cleanup

* chore: update webui build output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Allow editing/removing attachments from conversation messages

2 participants