mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-22 09:31:58 -05:00
[PR #20899] [CLOSED] feat: Add support for model parsing in OpenAI proxy handler #113126
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/20899
Author: @gaby
Created: 1/23/2026
Status: ❌ Closed
Base:
dev← Head:update-proxy-handler-for-model-parsing📝 Commits (9)
d0ffd25Route OpenAI proxy by model02cbcf1Update backend/open_webui/routers/openai.py0b9e864Simplify model entry check in openai.pyc878ba8Update backend/open_webui/routers/openai.pydb6700aApply suggestions from code reviewd0bff6bApply suggestions from code reviewae80e92Merge branch 'dev' into update-proxy-handler-for-model-parsinga36d036Merge branch 'dev' into update-proxy-handler-for-model-parsingce24308Update backend/open_webui/routers/openai.py📊 Changes
1 file changed (+38 additions, -3 deletions)
View changed files
📝
backend/open_webui/routers/openai.py(+38 -3)📄 Description
Description
modelfield when present.OPENAI_MODELSto pick the correctOPENAI_API_BASE_URLS/keys/configs instead of always using index0.0.Motivation
Note
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.