modularize comments, add smithery
This commit is contained in:
@@ -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']
|
||||
Reference in New Issue
Block a user