hyf-backend/th_agenter/services/tools/__init__.py

24 lines
627 B
Python

"""Agent tools package."""
from .weather import WeatherQueryTool
from .search import TavilySearchTool
from .datetime_tool import DateTimeTool
from th_agenter.services.mcp.postgresql_mcp import PostgreSQLMCPTool
from th_agenter.services.mcp.mysql_mcp import MySQLMCPTool
# Try to import LangChain native tools if available
# TODO: 暂屏蔽
# try:
# from .langchain_native_tools import LANGCHAIN_NATIVE_TOOLS
# except ImportError:
# LANGCHAIN_NATIVE_TOOLS = []
__all__ = [
'WeatherQueryTool',
'TavilySearchTool',
'DateTimeTool',
'PostgreSQLMCPTool',
'MySQLMCPTool',
'LANGCHAIN_NATIVE_TOOLS'
]