[GH-ISSUE #1454] feat: better openai error message #51168

Closed
opened 2026-05-05 12:04:40 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @Michelklingler on GitHub (Apr 7, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/1454

Bug Report

Description

Bug Summary:
Huge red message pop when an image is uploaded to a model that does not support it.

Steps to Reproduce:
Use a non multimodal model and upload an image

Expected Behavior:
A huge piece of code appear in red on top of the UI

Actual Behavior:
A message shoud only say "Images input not supported with this model".

Environment

  • Operating System: [e.g., Windows 10, macOS Big Sur, Ubuntu 20.04]
  • Browser (if applicable): [e.g., Chrome 100.0, Firefox 98.0]

Reproduction Details

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.

Logs and Screenshots

Screenshot 2024-04-07 at 2 37 02 PM

Note

If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!

Originally created by @Michelklingler on GitHub (Apr 7, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/1454 # Bug Report ## Description **Bug Summary:** Huge red message pop when an image is uploaded to a model that does not support it. **Steps to Reproduce:** Use a non multimodal model and upload an image **Expected Behavior:** A huge piece of code appear in red on top of the UI **Actual Behavior:** A message shoud only say "Images input not supported with this model". ## Environment - **Operating System:** [e.g., Windows 10, macOS Big Sur, Ubuntu 20.04] - **Browser (if applicable):** [e.g., Chrome 100.0, Firefox 98.0] ## Reproduction Details **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. ## Logs and Screenshots ![Screenshot 2024-04-07 at 2 37 02 PM](https://github.com/open-webui/open-webui/assets/63208430/7346bbfc-fe77-479a-89df-4c8fd5bfe56a) ## Note If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
GiteaMirror added the enhancementgood first issuehelp wantedcore labels 2026-05-05 12:04:41 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#51168