This commit is contained in:
jxxghp
2025-11-18 20:34:53 +08:00
parent fea3f0d3e0
commit 13171f636f
4 changed files with 1 additions and 11 deletions

View File

@@ -139,9 +139,6 @@ class QueryPopularSubscribesTool(MoviePilotTool):
"popularity": media_dict.get("popularity"), # 订阅人数
"subscriber_count": media_dict.get("popularity") # 明确标注为订阅人数
}
# 截断过长的描述
if simplified.get("overview") and len(simplified["overview"]) > 200:
simplified["overview"] = simplified["overview"][:200] + "..."
simplified_medias.append(simplified)
result_json = json.dumps(simplified_medias, ensure_ascii=False, indent=2)