feat: Improve @ Command Model Selection with Search/Filter Functionality #6345

Closed
opened 2025-11-11 16:52:01 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @ChGoh7 on GitHub (Sep 9, 2025).

Check Existing Issues

  • I have searched the existing issues and discussions.

Problem Description

Currently, the @ command in OpenWebUI lacks the search/filter functionality that is available with the / and # commands. When users type @ to select a model:

  1. The model selection menu appears correctly
  2. However, attempting to type additional characters to filter the model list causes the menu to disappear entirely
  3. This forces users to manually scroll through all available models to find and select the desired one
  4. This behavior is inconsistent with other commands (/ and #) which properly support continued typing to filter options

This inconsistency creates a disjointed user experience and significantly reduces efficiency when working with multiple models, especially in environments with a large number of available models.

Desired Solution you'd like

I would like the @ command to be enhanced with the same search/filter functionality that exists for the / and # commands. Specifically:

  1. When a user types @, the model selection menu should appear
  2. The user should be able to continue typing characters to filter the model list in real-time
  3. The menu should remain visible and update dynamically based on the typed filter
  4. The user should be able to select a model from the filtered list using arrow keys or mouse click
  5. The implementation should be consistent with the existing / and # command behavior

This would make the @ command behavior consistent with other commands in OpenWebUI and significantly improve the user experience when switching between models.

Alternatives Considered

  1. Maintain current behavior: This is not desirable as it creates inconsistency and poor user experience
  2. Remove filtering from all commands: This would create consistency but at the cost of functionality, making model selection even more cumbersome
  3. Implement a separate model selection interface: This could work but would require users to learn a different interaction pattern, potentially creating more confusion
  4. Add a dedicated model selection button/menu: This would be an additional UI element that might clutter the interface and would still not solve the command inconsistency issue

The preferred solution of adding filtering to the @ command is the most appropriate as it maintains consistency with existing commands, requires minimal UI changes, and addresses the core usability issue.

Additional Context

This feature request is based on observed behavior during regular use of OpenWebUI. The inconsistency between command behaviors is particularly noticeable when:

  • Working with a large number of models where manual scrolling is time-consuming
  • Switching frequently between different models during a session
  • Users who have become accustomed to the filtering behavior of / and # commands naturally expect the same functionality from @

Implementing this feature would:

  • Improve overall user experience and workflow efficiency
  • Create consistency across all command-based interactions
  • Reduce the time and effort required for model selection
  • Make OpenWebUI more professional and polished in its user interaction design

This enhancement would be particularly valuable for power users and those working in environments with many available models, while also benefiting new users by providing consistent interaction patterns across all commands.

Originally created by @ChGoh7 on GitHub (Sep 9, 2025). ### Check Existing Issues - [x] I have searched the existing issues and discussions. ### Problem Description Currently, the `@` command in OpenWebUI lacks the search/filter functionality that is available with the `/` and `#` commands. When users type `@` to select a model: 1. The model selection menu appears correctly 2. However, attempting to type additional characters to filter the model list causes the menu to disappear entirely 3. This forces users to manually scroll through all available models to find and select the desired one 4. This behavior is inconsistent with other commands (`/` and `#`) which properly support continued typing to filter options This inconsistency creates a disjointed user experience and significantly reduces efficiency when working with multiple models, especially in environments with a large number of available models. ### Desired Solution you'd like I would like the `@` command to be enhanced with the same search/filter functionality that exists for the `/` and `#` commands. Specifically: 1. When a user types `@`, the model selection menu should appear 2. The user should be able to continue typing characters to filter the model list in real-time 3. The menu should remain visible and update dynamically based on the typed filter 4. The user should be able to select a model from the filtered list using arrow keys or mouse click 5. The implementation should be consistent with the existing `/` and `#` command behavior This would make the `@` command behavior consistent with other commands in OpenWebUI and significantly improve the user experience when switching between models. ### Alternatives Considered 1. **Maintain current behavior**: This is not desirable as it creates inconsistency and poor user experience 2. **Remove filtering from all commands**: This would create consistency but at the cost of functionality, making model selection even more cumbersome 3. **Implement a separate model selection interface**: This could work but would require users to learn a different interaction pattern, potentially creating more confusion 4. **Add a dedicated model selection button/menu**: This would be an additional UI element that might clutter the interface and would still not solve the command inconsistency issue The preferred solution of adding filtering to the `@` command is the most appropriate as it maintains consistency with existing commands, requires minimal UI changes, and addresses the core usability issue. ### Additional Context This feature request is based on observed behavior during regular use of OpenWebUI. The inconsistency between command behaviors is particularly noticeable when: - Working with a large number of models where manual scrolling is time-consuming - Switching frequently between different models during a session - Users who have become accustomed to the filtering behavior of `/` and `#` commands naturally expect the same functionality from `@` Implementing this feature would: - Improve overall user experience and workflow efficiency - Create consistency across all command-based interactions - Reduce the time and effort required for model selection - Make OpenWebUI more professional and polished in its user interaction design This enhancement would be particularly valuable for power users and those working in environments with many available models, while also benefiting new users by providing consistent interaction patterns across all commands.
Author
Owner

@tjbck commented on GitHub (Sep 9, 2025):

Fixed in dev f2a09c71499489ee71599af4a179e7518aaf658b!

@tjbck commented on GitHub (Sep 9, 2025): Fixed in dev f2a09c71499489ee71599af4a179e7518aaf658b!
Author
Owner

@ChGoh7 commented on GitHub (Sep 9, 2025):

Quick fix, thanks👍

@ChGoh7 commented on GitHub (Sep 9, 2025): Quick fix, thanks👍
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#6345