minor refac for consistency, cleanup unused imports

This commit is contained in:
Taylor Wilsdon
2025-06-03 14:16:19 -04:00
parent 93e0007ee5
commit b0bfaff691
4 changed files with 11 additions and 34 deletions

View File

@@ -161,7 +161,7 @@ async def search_gmail_messages(
required_scopes=[GMAIL_READONLY_SCOPE],
)
if isinstance(auth_result, types.CallToolResult):
return auth_result # Auth error
return auth_result
service, user_email = auth_result
try: