mirror of
https://github.com/open-webui/open-webui
synced 2025-01-18 16:51:17 +00:00
fix: type not manifold
This commit is contained in:
parent
baf58ef396
commit
034411e47e
@ -147,9 +147,7 @@ async def get_pipe_models():
|
|||||||
function_module = get_function_module(pipe.id)
|
function_module = get_function_module(pipe.id)
|
||||||
|
|
||||||
# Check if function is a manifold
|
# Check if function is a manifold
|
||||||
if hasattr(function_module, "type"):
|
if hasattr(function_module, "type") and function_module.type == "manifold":
|
||||||
if not function_module.type == "manifold":
|
|
||||||
continue
|
|
||||||
manifold_pipes = []
|
manifold_pipes = []
|
||||||
|
|
||||||
# Check if pipes is a function or a list
|
# Check if pipes is a function or a list
|
||||||
|
Loading…
Reference in New Issue
Block a user