feat: add new tools for subscription management and scheduling

- Introduced DeleteSubscribeTool for managing subscriptions.
- Added QuerySchedulersTool and RunSchedulerTool for enhanced scheduling capabilities.
- Updated __all__ exports in init.py and factory.py to include new tools.
This commit is contained in:
jxxghp
2025-11-18 08:34:00 +08:00
parent 8296f8d2da
commit e1098b34e8
5 changed files with 170 additions and 1 deletions
+6
View File
@@ -6,12 +6,15 @@ from app.agent.tools.impl.add_subscribe import AddSubscribeTool
from app.agent.tools.impl.search_torrents import SearchTorrentsTool
from app.agent.tools.impl.add_download import AddDownloadTool
from app.agent.tools.impl.query_subscribes import QuerySubscribesTool
from app.agent.tools.impl.delete_subscribe import DeleteSubscribeTool
from app.agent.tools.impl.query_downloads import QueryDownloadsTool
from app.agent.tools.impl.query_downloaders import QueryDownloadersTool
from app.agent.tools.impl.query_sites import QuerySitesTool
from app.agent.tools.impl.get_recommendations import GetRecommendationsTool
from app.agent.tools.impl.query_media_library import QueryMediaLibraryTool
from app.agent.tools.impl.send_message import SendMessageTool
from app.agent.tools.impl.query_schedulers import QuerySchedulersTool
from app.agent.tools.impl.run_scheduler import RunSchedulerTool
from .factory import MoviePilotToolFactory
__all__ = [
@@ -21,11 +24,14 @@ __all__ = [
"SearchTorrentsTool",
"AddDownloadTool",
"QuerySubscribesTool",
"DeleteSubscribeTool",
"QueryDownloadsTool",
"QueryDownloadersTool",
"QuerySitesTool",
"GetRecommendationsTool",
"QueryMediaLibraryTool",
"SendMessageTool",
"QuerySchedulersTool",
"RunSchedulerTool",
"MoviePilotToolFactory"
]