Fix test implementation to prevent multiple LLM calls

Co-Authored-By: brandon@crewai.com <brandon@crewai.com>
This commit is contained in:
Devin AI
2025-01-21 20:35:20 +00:00
parent de3e64f51f
commit 00a6e10fcd

View File

@@ -1320,6 +1320,7 @@ def test_litellm_auth_error_handling():
backstory="test backstory",
llm=LLM(model="gpt-4"),
max_retry_limit=0, # Disable retries for authentication errors
max_iter=1, # Limit to one iteration to prevent multiple calls
)
# Create a task