mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
feat: allow valve pipelines edit
This commit is contained in:
@@ -250,8 +250,8 @@ class PipelineMiddleware(BaseHTTPMiddleware):
|
||||
and (
|
||||
model["pipeline"]["pipelines"] == ["*"]
|
||||
or any(
|
||||
model_id == target_model["id"]
|
||||
for target_model in model["pipeline"]["pipelines"]
|
||||
model_id == target_model_id
|
||||
for target_model_id in model["pipeline"]["pipelines"]
|
||||
)
|
||||
)
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user