mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
fix: pipelines
This commit is contained in:
@@ -550,7 +550,11 @@ async def get_pipelines_list(user=Depends(get_admin_user)):
|
|||||||
responses = await get_openai_models(raw=True)
|
responses = await get_openai_models(raw=True)
|
||||||
|
|
||||||
print(responses)
|
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 {
|
return {
|
||||||
"data": [
|
"data": [
|
||||||
|
|||||||
Reference in New Issue
Block a user