mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[PR #19209] [CLOSED] fix: prefix bug not occuring anymore for Ollama models #40763
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/19209
Author: @vmesel
Created: 11/16/2025
Status: ❌ Closed
Base:
dev← Head:fix/19194-prefix-bug📝 Commits (1)
4bb7690fix: prefix bug not occuring anymore for Ollama models📊 Changes
3 files changed (+10 additions, -1 deletions)
View changed files
📝
backend/open_webui/routers/ollama.py(+6 -0)📝
backend/open_webui/routers/openai.py(+3 -0)📝
backend/open_webui/utils/models.py(+1 -1)📄 Description
Changelog Entry
Description
Fixed a bug that occured on ollama models when prefix was missing. It was due to a wrong mapping inside the dictionary for models.
Fixed
Screenshots or Videos
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.