mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 03:47:49 +01:00
feat(sqlalchemy): remove session reference from router
This commit is contained in:
@@ -114,8 +114,8 @@ async def get_status():
|
||||
}
|
||||
|
||||
|
||||
async def get_pipe_models(db: Session):
|
||||
pipes = Functions.get_functions_by_type(db, "pipe", active_only=True)
|
||||
async def get_pipe_models():
|
||||
pipes = Functions.get_functions_by_type("pipe", active_only=True)
|
||||
pipe_models = []
|
||||
|
||||
for pipe in pipes:
|
||||
|
||||
Reference in New Issue
Block a user