Adding a model from @ or from the top does not consistently enable tools #4005

Closed
opened 2025-11-11 15:44:15 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @thiswillbeyourgithub on GitHub (Feb 20, 2025).

Bug Report

Installation Method

Docker compose

Environment

  • Open WebUI Version: 0.5.15

Confirmation:

  • [ x ] I have read and followed all the instructions provided in the README.md.
  • [ x ] I am on the latest version of both Open WebUI and Ollama.
  • [ x ] I have included the browser console logs.
  • [ x ] I have included the Docker container logs.
  • [ x ] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:

Selecting a model from the dropdown located at the top of the page should automatically enable tools that are specified in the model settings. It is the case. Selecting the model by typing @mymodel in the chat text box does not. This is inconsistent.

Actual Behavior:

Both methods of selecting the LLM should be consistent.

Description

Bug Summary:
Selecting a model by @ or by clicking does not consistently enable the pre selected tools.

Reproduction Details

Steps to Reproduce:

  1. add a model
  2. to that model check some tools checkbox in the settings
  3. create a new chat
  4. switch to the newly created model using @ shortcut
  5. Notice the tool is not enabled
  6. Select the model using the dropdown at the top
  7. Notice that this time the tool is enabled.

Additional Information

As I created a tool to create anki flashcards I noticed that there were no shortcuts to select tools so decided to pre add that tool to a new LLM to use the @ shortcut instead but this inconsistency makes it impossible to have a keyboard only workflow to use a tool. I also remembered about the official autotool_filter as an alternative but it is broken too

Originally created by @thiswillbeyourgithub on GitHub (Feb 20, 2025). # Bug Report ## Installation Method Docker compose ## Environment - **Open WebUI Version:** 0.5.15 **Confirmation:** - [ x ] I have read and followed all the instructions provided in the README.md. - [ x ] I am on the latest version of both Open WebUI and Ollama. - [ x ] I have included the browser console logs. - [ x ] I have included the Docker container logs. - [ x ] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below. ## Expected Behavior: Selecting a model from the dropdown located at the top of the page should automatically enable tools that are specified in the model settings. It is the case. Selecting the model by typing `@mymodel` in the chat text box does not. This is inconsistent. ## Actual Behavior: Both methods of selecting the LLM should be consistent. ## Description **Bug Summary:** Selecting a model by @ or by clicking does not consistently enable the pre selected tools. ## Reproduction Details **Steps to Reproduce:** 1. add a model 2. to that model check some tools checkbox in the settings 3. create a new chat 4. switch to the newly created model using @ shortcut 5. Notice the tool is not enabled 6. Select the model using the dropdown at the top 7. Notice that this time the tool is enabled. ## Additional Information As I created a [tool to create anki flashcards](https://github.com/thiswillbeyourgithub/openwebui_custom_pipes_filters/blob/main/tools/anki_tool.py) I noticed that there were no shortcuts to select tools so decided to pre add that tool to a new LLM to use the @ shortcut instead but this inconsistency makes it impossible to have a keyboard only workflow to use a tool. I also remembered about the [official autotool_filter](https://openwebui.com/f/hub/autotool_filter) as an alternative but [it is broken too](https://github.com/open-webui/open-webui/issues/10446)
Author
Owner

@silentoplayz commented on GitHub (Feb 21, 2025):

I can confirm that using the @ shortcut in the chat input does not activate any of the toggled on tools from the model's edit page of that particular model. I've tested with a custom model via the Workspace section and with a base model from the Model page of the admin settings and have produced the results found within OP's issue.

@silentoplayz commented on GitHub (Feb 21, 2025): I can confirm that using the `@` shortcut in the chat input does not activate any of the toggled on tools from the model's edit page of that particular model. I've tested with a custom model via the `Workspace` section and with a base model from the `Model` page of the admin settings and have produced the results found within OP's issue.
Author
Owner

@silentoplayz commented on GitHub (Feb 21, 2025):

Fixed with https://github.com/open-webui/open-webui/pull/10488. Thanks @glimpse-0201!

@silentoplayz commented on GitHub (Feb 21, 2025): Fixed with https://github.com/open-webui/open-webui/pull/10488. Thanks @glimpse-0201!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#4005