> also, any reference to "tags" as params or args is likely needing to be "labels". Which means that the "get_bookmarks_by_tag() function can be deleted, since it is provided by the get_bookmarks_by_label() function

this generated v4, v5, v6, v7, and v8
This commit is contained in:
Vincent Batts 2025-06-05 16:21:14 -04:00
parent 39951de3c3
commit 9ad8ad4a21

View file

@ -352,7 +352,6 @@ class Tools:
"title": bookmark.get("title", "Untitled"), "title": bookmark.get("title", "Untitled"),
"url": bookmark.get("url"), "url": bookmark.get("url"),
"excerpt": bookmark.get("excerpt", "")[:200] + "..." if bookmark.get("excerpt", "") else "", "excerpt": bookmark.get("excerpt", "")[:200] + "..." if bookmark.get("excerpt", "") else "",
"tags": bookmark.get("tags", []),
"labels": bookmark.get("labels", []), "labels": bookmark.get("labels", []),
"collection": bookmark.get("collection", {}).get("name", ""), "collection": bookmark.get("collection", {}).get("name", ""),
"created_at": bookmark.get("created_at"), "created_at": bookmark.get("created_at"),