Building AI agents, atomically
did formatting
Koichi KAWAMURA87825c8529aa
diff --git a/atomic-agents/tests/agents/test_base_agent.py b/atomic-agents/tests/agents/test_base_agent.pyindex 68e7b2a..fb4dc80 100644--- a/atomic-agents/tests/agents/test_base_agent.py+++ b/atomic-agents/tests/agents/test_base_agent.py@@ -92,6 +92,7 @@ def test_initialization_without_temperature(mock_instructor, mock_memory, mock_sagent = BaseAgent(config)assert agent.model_api_parameters["temperature"] == 0.5+def test_initialization_without_max_tokens(mock_instructor, mock_memory, mock_system_prompt_generator):config = BaseAgentConfig(client=mock_instructor,@@ -104,6 +105,7 @@ def test_initialization_without_max_tokens(mock_instructor, mock_memory, mock_syagent = BaseAgent(config)assert agent.model_api_parameters["max_tokens"] == 1024+def test_initialization_system_role_equals_developer(mock_instructor, mock_memory, mock_system_prompt_generator):config = BaseAgentConfig(client=mock_instructor,@@ -117,6 +119,7 @@ def test_initialization_system_role_equals_developer(mock_instructor, mock_memor_ = agent.get_response()assert isinstance(agent.messages, list) and agent.messages[0]["role"] == "developer"+def test_initialization_system_role_equals_None(mock_instructor, mock_memory, mock_system_prompt_generator):config = BaseAgentConfig(client=mock_instructor,@@ -130,6 +133,7 @@ def test_initialization_system_role_equals_None(mock_instructor, mock_memory, mo_ = agent.get_response()assert isinstance(agent.messages, list) and len(agent.messages) == 0+def test_reset_memory(agent, mock_memory):initial_memory = agent.initial_memoryagent.reset_memory()