feat: major architectural refactor
- Refactor memory system (episodic/STM/LTM with components) - Implement complete subtitle domain (scanner, matcher, placer) - Add YAML workflow infrastructure - Externalize knowledge base (patterns, release groups) - Add comprehensive testing suite - Create manual testing CLIs
This commit is contained in:
+4
-4
@@ -49,7 +49,7 @@ class TestExecuteToolCall:
|
||||
def test_execute_known_tool(self, memory, mock_settings, mock_llm, real_folder):
|
||||
"""Should execute known tool."""
|
||||
agent = Agent(settings=mock_settings, llm=mock_llm)
|
||||
memory.ltm.set_config("download_folder", str(real_folder["downloads"]))
|
||||
memory.ltm.download_folder = str(real_folder["downloads"])
|
||||
|
||||
tool_call = {
|
||||
"id": "call_123",
|
||||
@@ -145,7 +145,7 @@ class TestStep:
|
||||
self, memory, mock_settings, mock_llm_with_tool_call, real_folder
|
||||
):
|
||||
"""Should execute tool and continue."""
|
||||
memory.ltm.set_config("download_folder", str(real_folder["downloads"]))
|
||||
memory.ltm.download_folder = str(real_folder["downloads"])
|
||||
|
||||
agent = Agent(settings=mock_settings, llm=mock_llm_with_tool_call)
|
||||
|
||||
@@ -229,8 +229,8 @@ class TestAgentIntegration:
|
||||
|
||||
def test_multiple_tool_calls(self, memory, mock_settings, mock_llm, real_folder):
|
||||
"""Should handle multiple tool calls in sequence."""
|
||||
memory.ltm.set_config("download_folder", str(real_folder["downloads"]))
|
||||
memory.ltm.set_config("movie_folder", str(real_folder["movies"]))
|
||||
memory.ltm.download_folder = str(real_folder["downloads"])
|
||||
memory.ltm.movie_folder = str(real_folder["movies"])
|
||||
|
||||
call_count = [0]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user