modularize comments, add smithery

This commit is contained in:
Taylor Wilsdon
2025-07-01 17:14:30 -07:00
parent f5b9a6ff52
commit 7ce96edc48
4 changed files with 257 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ from googleapiclient.errors import HttpError
from auth.service_decorator import require_google_service
from core.server import server
from core.utils import handle_http_errors
from core.comments import create_comment_tools
logger = logging.getLogger(__name__)
@@ -269,4 +270,12 @@ async def get_page_thumbnail(
You can view or download the thumbnail using the provided URL."""
logger.info(f"Thumbnail generated successfully for {user_google_email}")
return confirmation_message
return confirmation_message
# Create comment management tools for slides
_comment_tools = create_comment_tools("presentation", "presentation_id")
read_slide_comments = _comment_tools['read_comments']
create_slide_comment = _comment_tools['create_comment']
reply_to_slide_comment = _comment_tools['reply_to_comment']
resolve_slide_comment = _comment_tools['resolve_comment']