mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-07-07 15:51:28 +08:00
refactor: rename MoviePilotToolSelectorMiddleware to ToolSelectorMiddleware and enhance tool selection logic
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user