[GH-ISSUE #11223] [Bug] Ollama Model List Not Updating After Deleting a Model #16150

Closed
opened 2026-04-19 22:09:47 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @MillionthOdin16 on GitHub (Mar 5, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/11223

Check Existing Issues

  • I have searched the existing issues and discussions.

Installation Method

Git Clone

Open WebUI Version

0.5.19

Ollama Version (if applicable)

0.5.13

Operating System

Debian 12

Browser (if applicable)

Chrome

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have checked the browser console logs.
  • I have checked the Docker container logs.
  • I have listed steps to reproduce the bug in detail.

Expected Behavior

When a model is deleted using the "Delete a model" option in the Ollama connection settings, the "Select a model" dropdown list should update immediately to remove the deleted model from the list. This ensures the list accurately reflects the currently available models without requiring a page refresh.

Actual Behavior

After deleting a model using the "Delete a model" option, the "Select a model" dropdown list is not updated. The deleted model remains visible in the list until the page is manually refreshed. If a user attempts to delete another model without refreshing, the list still contains the previously deleted model. Selecting a model that has already been deleted results in an error message "model not found

Steps to Reproduce

  1. Go to Settings and navigate to the "Connections" tab.
  2. Ensure you have an Ollama connection configured and active.
  3. Under the "Manage Ollama" section, locate the "Delete a model" option.
  4. Use the "Select a model" dropdown to choose a model and click the delete icon to delete it.
  5. Without refreshing the page, attempt to delete another model. The "Select a model" dropdown will still include the previously deleted model.
  6. If you select the already deleted model from the dropdown and attempt to delete it again, an error message "model not found" will be displayed.
  7. Refresh the page. The "Select a model" dropdown list will now be updated and the deleted model will be removed.

Logs & Screenshots

When a model that has already been deleted is selected, a toast appears that says "Ollama: model not found"

Additional Information

No response

Originally created by @MillionthOdin16 on GitHub (Mar 5, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/11223 ### Check Existing Issues - [x] I have searched the existing issues and discussions. ### Installation Method Git Clone ### Open WebUI Version 0.5.19 ### Ollama Version (if applicable) 0.5.13 ### Operating System Debian 12 ### Browser (if applicable) Chrome ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have checked the browser console logs. - [x] I have checked the Docker container logs. - [x] I have listed steps to reproduce the bug in detail. ### Expected Behavior When a model is deleted using the "Delete a model" option in the Ollama connection settings, the "Select a model" dropdown list should update immediately to remove the deleted model from the list. This ensures the list accurately reflects the currently available models without requiring a page refresh. ### Actual Behavior After deleting a model using the "Delete a model" option, the "Select a model" dropdown list is not updated. The deleted model remains visible in the list until the page is manually refreshed. If a user attempts to delete another model without refreshing, the list still contains the previously deleted model. Selecting a model that has already been deleted results in an error message "model not found ### Steps to Reproduce 1. Go to Settings and navigate to the "Connections" tab. 2. Ensure you have an Ollama connection configured and active. 3. Under the "Manage Ollama" section, locate the "Delete a model" option. 4. Use the "Select a model" dropdown to choose a model and click the delete icon to delete it. 5. Without refreshing the page, attempt to delete another model. The "Select a model" dropdown will still include the previously deleted model. 6. If you select the already deleted model from the dropdown and attempt to delete it again, an error message "model not found" will be displayed. 7. Refresh the page. The "Select a model" dropdown list will now be updated and the deleted model will be removed. ### Logs & Screenshots When a model that has already been deleted is selected, a toast appears that says "Ollama: model not found" ### Additional Information _No response_
GiteaMirror added the bug label 2026-04-19 22:09:47 -05:00
Author
Owner

@tjbck commented on GitHub (Mar 5, 2025):

If you refresh the webui the model list will update.

<!-- gh-comment-id:2701911383 --> @tjbck commented on GitHub (Mar 5, 2025): If you refresh the webui the model list will update.
Author
Owner

@MillionthOdin16 commented on GitHub (Mar 5, 2025):

Yes, I said that in the bug report. My point is that usability can be improved by updating the stale model list. Why close the issue?

<!-- gh-comment-id:2702195193 --> @MillionthOdin16 commented on GitHub (Mar 5, 2025): Yes, I said that in the bug report. My point is that usability can be improved by updating the stale model list. Why close the issue?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#16150