diff --git a/core/tool_tier_loader.py b/core/tool_tier_loader.py index 9d46c8a..57bed1e 100644 --- a/core/tool_tier_loader.py +++ b/core/tool_tier_loader.py @@ -13,7 +13,7 @@ import yaml logger = logging.getLogger(__name__) -TierLevel = Literal["core", "extended", "complete", "leo"] +TierLevel = Literal["core", "extended", "complete"] class ToolTierLoader: @@ -109,15 +109,6 @@ class ToolTierLoader: Returns: List of tool names up to the specified tier level """ - # Special handling for standalone tiers (e.g., "leo") - # These tiers are not cumulative and contain their own tool set - standalone_tiers = ["leo"] - - if tier in standalone_tiers: - # For standalone tiers, return only the tools in that tier - return self.get_tools_for_tier(tier, services) - - # For cumulative tiers (core, extended, complete), accumulate tools tier_order = ["core", "extended", "complete"] max_tier_index = tier_order.index(tier) diff --git a/core/tool_tiers.yaml b/core/tool_tiers.yaml index bd60d2a..38edd12 100644 --- a/core/tool_tiers.yaml +++ b/core/tool_tiers.yaml @@ -21,12 +21,6 @@ gmail: - batch_modify_gmail_message_labels - start_google_auth - leo: - - search_gmail_messages - - get_gmail_message_content - - get_gmail_messages_content_batch - - start_google_auth - drive: core: - search_drive_files @@ -48,18 +42,6 @@ drive: - get_drive_file_permissions - check_drive_file_public_access - leo: - - search_drive_files - - get_drive_file_content - - get_drive_file_download_url - - create_drive_file - - import_to_google_doc - - share_drive_file - - get_drive_shareable_link - - list_drive_items - - update_drive_file - - get_drive_file_permissions - calendar: core: - list_calendars @@ -96,24 +78,6 @@ docs: - reply_to_document_comment - resolve_document_comment - leo: - - get_doc_content - - create_doc - - modify_doc_text - - export_doc_to_pdf - - search_docs - - find_and_replace_doc - - list_docs_in_folder - - insert_doc_elements - - format_paragraph_style - - apply_heading_style - - insert_doc_image - - update_doc_headers_footers - - batch_update_doc - - inspect_doc_structure - - create_table_with_data - - debug_table_structure - sheets: core: - create_spreadsheet @@ -163,13 +127,6 @@ slides: - reply_to_presentation_comment - resolve_presentation_comment - leo: - - create_presentation - - get_presentation - - batch_update_presentation - - get_page - - get_page_thumbnail - tasks: core: - get_task diff --git a/main.py b/main.py index 47c053a..9c43146 100644 --- a/main.py +++ b/main.py @@ -130,7 +130,7 @@ def main(): ) parser.add_argument( "--tool-tier", - choices=["core", "extended", "complete", "leo"], + choices=["core", "extended", "complete"], help="Load tools based on tier level. Can be combined with --tools to filter services.", ) parser.add_argument(