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
32a61ea1
Commit
32a61ea1
authored
Jun 02, 2024
by
Timothy J. Baek
Browse files
fix: pipelines
parent
d9a3e4db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
backend/main.py
backend/main.py
+5
-1
No files found.
backend/main.py
View file @
32a61ea1
...
...
@@ -550,7 +550,11 @@ async def get_pipelines_list(user=Depends(get_admin_user)):
responses
=
await
get_openai_models
(
raw
=
True
)
print
(
responses
)
urlIdxs
=
[
idx
for
idx
,
response
in
enumerate
(
responses
)
if
"pipelines"
in
response
]
urlIdxs
=
[
idx
for
idx
,
response
in
enumerate
(
responses
)
if
response
!=
None
and
"pipelines"
in
response
]
return
{
"data"
:
[
...
...
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