mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #22749] issue: URL Indexed Twice When Using Multiple Triggers and Backspace in Chat Input #35339
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 @silentoplayz on GitHub (Mar 17, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/22749
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.8.10
Ollama Version (if applicable)
v0.18.0
Operating System
Ubuntu 24.04.4 LTS
Browser (if applicable)
Mozilla Firefox Snap for Ubuntu v148.0.2 (64-bit) / Google Chrome v146.0.7680.80 (Official Build) (64-bit)
Confirmation
README.md.Expected Behavior
When using multiple triggers in sequence (e.g., selecting a skill with
$then adding a URL with#), the URL should only be indexed and added to the chat context once.Actual Behavior
The URL is indexed twice, resulting in two identical URL chips appearing above the chat input. This happens if the user selects a skill/prompt trigger, then types the
#trigger, backspaces to remove the#, and then re-types#to add a URL.Steps to Reproduce
$and select a skill (e.g.,$Visualize).Space.#trigger. A popup modal appears.BackspaceONCE to remove the#trigger character.#again to trigger the URL/file selector.https://www.goody2.ai/).Enteron the keyboard.Alternative / Easier Method (Multiple Triggers)
$to select a skill (e.g.,$Visualize).$again to select another skill (or prompt with/).#.Enter/ select it.Logs & Screenshots
Step 2: Start with a skill selection (using

$).Step 4: Type the

#trigger.Step 5: Press

Backspaceto remove the#.Step 7: Type

#again and enter a URL immediately following after the#.Step 9: Select the URL and observe the double-indexing bug.

#trigger workflow in the chat input. It cannot be reproduced by using theAttach Webpageoption from theMore(+) modal. Using the UI menu option results in correct (single) indexing.(Menu Comparison)
Attach Webpage UI: Selecting the menu option directly.
Result: Correct single indexing when using the menu.

Additional Information
/trigger instead of$.#trigger isn't being properly cleaned up when backspaced, causing the subsequent selection event to fire twice.@tjbck commented on GitHub (Mar 20, 2026):
@silentoplayz could you confirm if the issue has been addressed in dev?
@silentoplayz commented on GitHub (Mar 20, 2026):
Yes, I can confirm this reported issue in particular has been resolved on the
devbranch. Closing this issue now.