mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 12:55:19 +00:00
fix: openai proxy endpoints
This commit is contained in:
parent
ccbd98dfab
commit
5d3f778b2a
1 changed files with 1 additions and 0 deletions
|
|
@ -573,6 +573,7 @@ async def generate_chat_completion(
|
|||
detail="Model not found",
|
||||
)
|
||||
|
||||
await get_all_models(request)
|
||||
model = request.app.state.OPENAI_MODELS.get(model_id)
|
||||
if model:
|
||||
idx = model["urlIdx"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue