This commit is contained in:
Timothy J. Baek
2024-06-11 14:30:18 -07:00
parent 61e0a85aed
commit 2be14d57bf
3 changed files with 5 additions and 3 deletions

View File

@@ -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]: