mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
feat: functions router
This commit is contained in:
@@ -69,7 +69,7 @@ class FunctionForm(BaseModel):
|
||||
meta: FunctionMeta
|
||||
|
||||
|
||||
class ToolsTable:
|
||||
class FunctionsTable:
|
||||
def __init__(self, db):
|
||||
self.db = db
|
||||
self.db.create_tables([Function])
|
||||
@@ -137,4 +137,4 @@ class ToolsTable:
|
||||
return False
|
||||
|
||||
|
||||
Tools = ToolsTable(DB)
|
||||
Functions = FunctionsTable(DB)
|
||||
|
||||
Reference in New Issue
Block a user