mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 21:09:41 -05:00
[PR #22485] [MERGED] fix: add icon fallback for missing model icons on Models pages #65579
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/22485
Author: @silentoplayz
Created: 3/9/2026
Status: ✅ Merged
Merged: 3/15/2026
Merged by: @tjbck
Base:
dev← Head:fix/model-icon-fallback📝 Commits (1)
0ae0b00fix(ui): add icon fallback for missing model icons on Models pages📊 Changes
2 files changed (+6 additions, -0 deletions)
View changed files
📝
src/lib/components/admin/Settings/Models.svelte(+3 -0)📝
src/lib/components/workspace/Models.svelte(+3 -0)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions to discuss your idea/fix with the community before creating a pull request, and describe your changes before submitting a pull request.
This is to ensure large feature PRs are discussed with the community first, before starting work on it. If the community does not want this feature or it is not relevant for Open WebUI as a project, it can be identified in the discussion before working on the feature and submitting the PR.
Before submitting, make sure you've checked the following:
devbranch. PRs targetingmainwill be immediately closed.devto ensure no unrelated commits (e.g. frommain) are included. Push updates to the existing PR branch instead of closing and reopening.Changelog Entry
Description
on:errorfallback handler to model profile images on both the workspace and admin settings Models pages. If a model's profile image fails to load, it will now gracefully fall back to displaying the project's default favicon, preventing broken image icons in the UI.Fixed
Additional Information
Screenshots or Videos
Before - Workspace
ModelspageAfter - Workspace
ModelspageModel avatars with a white image on the
Modelsworkspace page are due to me using an image with a transparent background for those particular model avatars. I submitted a one line adjustment PR a while ago to solve this, but it was rejected as "intended behavior". https://github.com/open-webui/open-webui/pull/18706Before - Admin
ModelspageAfter - Admin
ModelspageContributor License Agreement
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.