mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 23:47:41 +08:00
refactor: 收口 V3 分层架构与插件兼容边界
This commit is contained in:
@@ -482,7 +482,7 @@ def test_activity_log_provider_error_does_not_echo_secret(tmp_path):
|
||||
def test_factory_does_not_register_activity_log_tool():
|
||||
"""活动日志查询工具应由中间件注册,不应进入全局工具工厂。"""
|
||||
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