mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00: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