feat: enhance GetRecommendationsTool and update query tools for improved functionality

- Expanded the GetRecommendationsTool to support additional recommendation sources, including TMDB popular movies and TV shows, as well as various Douban categories.
- Updated the limit for results in QuerySubscribesTool, SearchMediaTool, and QueryTransferHistoryTool from 20 to 50 or 30, respectively, to provide more comprehensive results.
- Removed unnecessary description fields from media objects in QueryPopularSubscribesTool, QuerySubscribeHistoryTool, and QuerySubscribeSharesTool for cleaner output.
This commit is contained in:
jxxghp
2025-11-18 16:21:13 +08:00
parent a8c6516b31
commit 21fabf7436
7 changed files with 75 additions and 18 deletions

View File

@@ -87,7 +87,6 @@ class QuerySubscribeHistoryTool(MoviePilotTool):
"bangumiid": record.bangumiid,
"poster": record.poster,
"vote": record.vote,
"description": record.description[:200] + "..." if record.description and len(record.description) > 200 else record.description,
"total_episode": record.total_episode,
"date": record.date,
"username": record.username