Skip to content

Building AI agents, atomically

fixed the async mock function to be sync

Jonathan Chun258b6905ed4a
diff --git a/atomic-agents/tests/agents/test_base_agent.py b/atomic-agents/tests/agents/test_base_agent.py
index 40a3d28..7c3550e 100644
--- a/atomic-agents/tests/agents/test_base_agent.py
+++ b/atomic-agents/tests/agents/test_base_agent.py
@@ -230,7 +230,7 @@ async def test_stream_response_async(agent, mock_memory, mock_instructor, mock_s
BaseAgentOutputSchema(chat_message="Final response"),
]
- async def mock_create_partial(*args, **kwargs):
+ def mock_create_partial(*args, **kwargs):
for response in partial_responses:
yield response