Merge origin/develop and integrate browser isolation

This commit is contained in:
andreysk0304 2026-04-21 23:18:59 +03:00
parent 50589232d6
commit ebba5d04a4
13 changed files with 812 additions and 251 deletions

View file

@ -15,13 +15,24 @@ The tools are imported into model_tools.py which provides a unified interface
for the AI agent to access all capabilities.
"""
import logging
logger = logging.getLogger(__name__)
# Export all tools for easy importing
from .web_tools import (
web_search_tool,
web_extract_tool,
web_crawl_tool,
check_firecrawl_api_key
)
try:
from .web_tools import (
web_search_tool,
web_extract_tool,
web_crawl_tool,
check_firecrawl_api_key
)
except ModuleNotFoundError as exc:
logger.debug("Skipping web_tools import in tools package init: %s", exc)
web_search_tool = None
web_extract_tool = None
web_crawl_tool = None
check_firecrawl_api_key = None
# Primary terminal tool (local/docker/singularity/modal/daytona/ssh)
from .terminal_tool import (
@ -263,4 +274,3 @@ __all__ = [
'check_delegate_requirements',
'DELEGATE_TASK_SCHEMA',
]