fix agent tools

This commit is contained in:
jxxghp
2025-11-17 12:34:20 +08:00
parent 076fae696c
commit c6806ee648
10 changed files with 20 additions and 21 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ class SearchMediaTool(MoviePilotTool):
search_title = f"{search_title} S{season:02d}"
# 使用 MediaChain.search 方法
meta, results = media_chain.search(title=search_title)
meta, results = await media_chain.async_search(title=search_title)
# 过滤结果
if results: