refactor: remove deprecated tools and add RecognizeMediaTool

- Removed the old tool definitions from __init__.py to streamline the module.
- Added RecognizeMediaTool to factory.py for enhanced media recognition capabilities.
- Updated tool exports to reflect the changes in available tools.
This commit is contained in:
jxxghp
2025-11-18 16:07:11 +08:00
parent f5ca48a56e
commit a8c6516b31
3 changed files with 164 additions and 61 deletions

View File

@@ -16,6 +16,7 @@ from app.agent.tools.impl.query_popular_subscribes import QueryPopularSubscribes
from app.agent.tools.impl.query_subscribe_history import QuerySubscribeHistoryTool
from app.agent.tools.impl.delete_subscribe import DeleteSubscribeTool
from app.agent.tools.impl.search_media import SearchMediaTool
from app.agent.tools.impl.recognize_media import RecognizeMediaTool
from app.agent.tools.impl.search_torrents import SearchTorrentsTool
from app.agent.tools.impl.send_message import SendMessageTool
from app.agent.tools.impl.query_schedulers import QuerySchedulersTool
@@ -44,6 +45,7 @@ class MoviePilotToolFactory:
tools = []
tool_definitions = [
SearchMediaTool,
RecognizeMediaTool,
AddSubscribeTool,
SearchTorrentsTool,
AddDownloadTool,