feat: add UpdateSiteCookieTool and enhance site operations

- Introduced UpdateSiteCookieTool to the toolset for managing site cookies.
- Updated __all__ exports in init.py and factory.py to include UpdateSiteCookieTool.
- Added async_get method in SiteOper for asynchronous retrieval of individual site records, improving database interaction.
This commit is contained in:
jxxghp
2025-11-18 11:34:37 +08:00
parent 8d1de245a6
commit eae1f8ee4d
4 changed files with 86 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ 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 app.agent.tools.impl.update_site_cookie import UpdateSiteCookieTool
from .factory import MoviePilotToolFactory
__all__ = [
@@ -30,6 +31,7 @@ __all__ = [
"QueryDownloadersTool",
"QuerySitesTool",
"TestSiteTool",
"UpdateSiteCookieTool",
"GetRecommendationsTool",
"QueryMediaLibraryTool",
"SendMessageTool",