Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
09514751
Unverified
Commit
09514751
authored
Jul 02, 2024
by
Michael Poluektov
Committed by
GitHub
Jul 02, 2024
Browse files
Update main.py
parent
afd74213
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
backend/main.py
backend/main.py
+3
-5
No files found.
backend/main.py
View file @
09514751
...
@@ -834,11 +834,9 @@ def filter_pipeline(payload, user):
...
@@ -834,11 +834,9 @@ def filter_pipeline(payload, user):
pass
pass
if
"pipeline"
not
in
app
.
state
.
MODELS
[
model_id
]:
if
"pipeline"
not
in
app
.
state
.
MODELS
[
model_id
]:
if
"title"
in
payload
:
for
key
in
[
"title"
,
"task"
,
"function"
]:
del
payload
[
"title"
]
if
key
in
payload
:
del
payload
[
key
]
if
"task"
in
payload
:
del
payload
[
"task"
]
return
payload
return
payload
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment