mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-06 07:56:52 +08:00
refactor: 收口 V3 分层架构与插件兼容边界
This commit is contained in:
@@ -43,7 +43,7 @@ def _doctor_report() -> DoctorReport:
|
||||
def test_factory_registers_doctor_report_tool():
|
||||
"""工具工厂应注册 doctor 诊断报告工具。"""
|
||||
with patch(
|
||||
"app.agent.tools.factory.PluginManager.get_plugin_agent_tools",
|
||||
"app.agent.tools.factory._get_plugin_agent_tools",
|
||||
return_value=[],
|
||||
):
|
||||
tools = MoviePilotToolFactory.create_tools(
|
||||
|
||||
Reference in New Issue
Block a user