mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 03:47:49 +01:00
fix: filter outlet
This commit is contained in:
@@ -498,10 +498,10 @@ async def chat_completed(form_data: dict, user=Depends(get_verified_user)):
|
|||||||
]
|
]
|
||||||
sorted_filters = sorted(filters, key=lambda x: x["pipeline"]["priority"])
|
sorted_filters = sorted(filters, key=lambda x: x["pipeline"]["priority"])
|
||||||
|
|
||||||
model = app.state.MODELS[model_id]
|
if model_id in app.state.MODELS:
|
||||||
|
model = app.state.MODELS[model_id]
|
||||||
if "pipeline" in model:
|
if "pipeline" in model:
|
||||||
sorted_filters = [model] + sorted_filters
|
sorted_filters = [model] + sorted_filters
|
||||||
|
|
||||||
for filter in sorted_filters:
|
for filter in sorted_filters:
|
||||||
r = None
|
r = None
|
||||||
|
|||||||
Reference in New Issue
Block a user