mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
fix
This commit is contained in:
@@ -92,7 +92,8 @@ class ToolsTable:
|
||||
return tool
|
||||
else:
|
||||
return None
|
||||
except:
|
||||
except Exception as e:
|
||||
print(f"Error creating tool: {e}")
|
||||
return None
|
||||
|
||||
def get_tool_by_id(self, id: str) -> Optional[ToolModel]:
|
||||
|
||||
Reference in New Issue
Block a user