mirror of
https://github.com/open-webui/open-webui
synced 2024-11-07 09:09:53 +00:00
revert not delete on pipe
This commit is contained in:
parent
02f242e9e8
commit
24c7990fd4
@ -833,10 +833,7 @@ def filter_pipeline(payload, user):
|
||||
else:
|
||||
pass
|
||||
|
||||
keep_extras = (
|
||||
"pipeline" in app.state.MODELS[model_id] or "pipe" in app.state.MODELS[model_id]
|
||||
)
|
||||
if not keep_extras:
|
||||
if "pipeline" not in app.state.MODELS[model_id]:
|
||||
for key in ["title", "task", "function"]:
|
||||
if key in payload:
|
||||
del payload[key]
|
||||
|
Loading…
Reference in New Issue
Block a user