removes user_google_email argument from tool schema under multi-user mode
This commit is contained in:
@@ -18,7 +18,6 @@ from pydantic import Field
|
||||
from auth.service_decorator import require_google_service
|
||||
from core.utils import handle_http_errors
|
||||
from core.server import server
|
||||
from core.schema_modifier import inject_user_email
|
||||
from auth.scopes import (
|
||||
GMAIL_SEND_SCOPE,
|
||||
GMAIL_COMPOSE_SCOPE,
|
||||
@@ -275,7 +274,6 @@ def _format_gmail_results_plain(messages: list, query: str) -> str:
|
||||
|
||||
|
||||
@server.tool()
|
||||
@inject_user_email
|
||||
@handle_http_errors("search_gmail_messages", is_read_only=True, service_type="gmail")
|
||||
@require_google_service("gmail", "gmail_read")
|
||||
async def search_gmail_messages(
|
||||
|
||||
Reference in New Issue
Block a user