[GH-ISSUE #7992] prefix id for some connections don't seem to work #118265

Closed
opened 2026-05-20 19:40:18 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @nengoxx on GitHub (Dec 21, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/7992

Bug Report

Installation Method

pip

Environment

  • Open WebUI Version: 0.4.7

  • Operating System: Windows 11

  • Browser (if applicable): Firefox

Confirmation:

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

Expected Behavior:

The prefix should be prepended to the model names from that connection.

Actual Behavior:

Doesn't seem to work on some connections like Huggingface's serverless API and OpenRouter if you set the specific model IDs.

Description

Bug Summary:
I set up different prefixes for several of my connections to the APIs, but only groq models seemed to actually use the prefix.

Reproduction Details

Steps to Reproduce:
Set a prefix for either huggingface's serverless API or OpenRouter's with specific model IDs.

Logs and Screenshots

Screenshots/Screen Recordings (if applicable):

Screenshot 2024-12-21 180250
Screenshot 2024-12-21 180313
Screenshot 2024-12-21 180359

Additional Information

In the last screenshot, one of the gemma2-27b-it is from huggingface ('hf' as prefix) and the other from openrouter ('or' as prefix), groq works as you can see. I tried with different prefixes with no luck.

Originally created by @nengoxx on GitHub (Dec 21, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/7992 # Bug Report ## Installation Method pip ## Environment - **Open WebUI Version:** 0.4.7 - **Operating System:** Windows 11 - **Browser (if applicable):** Firefox **Confirmation:** - [x] I have read and followed all the instructions provided in the README.md. - [ ] I am on the latest version of both Open WebUI and Ollama. - [ ] I have included the browser console logs. - [ ] 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: The prefix should be prepended to the model names from that connection. ## Actual Behavior: Doesn't seem to work on some connections like Huggingface's serverless API and OpenRouter if you set the specific model IDs. ## Description **Bug Summary:** I set up different prefixes for several of my connections to the APIs, but only groq models seemed to actually use the prefix. ## Reproduction Details **Steps to Reproduce:** Set a prefix for either huggingface's serverless API or OpenRouter's with specific model IDs. ## Logs and Screenshots **Screenshots/Screen Recordings (if applicable):** ![Screenshot 2024-12-21 180250](https://github.com/user-attachments/assets/411bba71-e087-4e28-908b-25fa5d67aa1b) ![Screenshot 2024-12-21 180313](https://github.com/user-attachments/assets/d67e2b9e-0b3d-4ed8-a946-9bcba46d0a9c) ![Screenshot 2024-12-21 180359](https://github.com/user-attachments/assets/1e101fb1-2125-40e3-8ca4-edc64490abc5) ## Additional Information In the last screenshot, one of the gemma2-27b-it is from huggingface ('hf' as prefix) and the other from openrouter ('or' as prefix), groq works as you can see. I tried with different prefixes with no luck.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#118265