Merge pull request #13 from taylorwilsdon/taylorwilsdon-patch-5

Update calendar_tools.py
This commit is contained in:
Taylor Wilsdon
2025-05-17 10:13:31 -04:00
committed by GitHub

View File

@@ -51,12 +51,6 @@ from core.server import (
CALENDAR_READONLY_SCOPE, CALENDAR_EVENTS_SCOPE
)
# CONFIG_CLIENT_SECRETS_PATH is now imported from auth.google_auth
# CONFIG_REDIRECT_URI is now imported from core.server
# Remove the local _initiate_auth_and_get_message helper function
# async def _initiate_auth_and_get_message(...): ...
# --- Tool Implementations ---
@@ -340,4 +334,4 @@ async def create_event(
except Exception as e:
message = f"Unexpected error creating event: {e}."
logger.exception(message)
return types.CallToolResult(isError=True, content=[types.TextContent(type="text", text=message)])
return types.CallToolResult(isError=True, content=[types.TextContent(type="text", text=message)])