mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-07-02 21:58:11 +00:00
fix: disable VCR and memory for standalone agent test to prevent real API calls
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user