From e2d66c524b1af4d1e93e718d8e3c0131f77fd07e Mon Sep 17 00:00:00 2001 From: alex-clawd Date: Wed, 13 May 2026 02:20:51 -0700 Subject: [PATCH] fix: disable VCR and memory for standalone agent test to prevent real API calls --- lib/crewai/tests/agents/test_lite_agent.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/crewai/tests/agents/test_lite_agent.py b/lib/crewai/tests/agents/test_lite_agent.py index 24708d455..3e85e2a7a 100644 --- a/lib/crewai/tests/agents/test_lite_agent.py +++ b/lib/crewai/tests/agents/test_lite_agent.py @@ -836,6 +836,7 @@ def test_lite_agent_kickoff_async_inside_flow(): assert isinstance(result, LiteAgentOutput) +@pytest.mark.vcr(record_mode="none") def test_lite_agent_standalone_still_works(): """Test that LiteAgent.kickoff() still works normally outside of a Flow. @@ -860,6 +861,7 @@ def test_lite_agent_standalone_still_works(): goal="Answer questions", backstory="A helpful assistant", llm=mock_llm, + memory=False, verbose=False, )