refactor: rename MoviePilotToolSelectorMiddleware to ToolSelectorMiddleware and enhance tool selection logic

This commit is contained in:
jxxghp
2026-04-30 19:05:49 +08:00
parent afcc071d07
commit 53bf81aede
4 changed files with 211 additions and 20 deletions

View File

@@ -95,7 +95,7 @@ class TestAgentSummarizationStreaming(unittest.TestCase):
),
patch.object(
agent_module,
"MoviePilotToolSelectorMiddleware",
"ToolSelectorMiddleware",
_FakeToolSelectorMiddleware,
),
patch.object(agent_module, "create_agent", side_effect=_fake_create_agent),