clean up test

This commit is contained in:
Brandon Hancock
2025-01-24 15:04:06 -05:00
parent 63ce0c91f9
commit a367a96ab9

View File

@@ -1705,11 +1705,6 @@ def test_crew_agent_executor_litellm_auth_error():
assert exc_info.value.llm_provider == "openai"
assert exc_info.value.model == "gpt-4"
# Optionally, assert that the exception is an instance of BaseLLMException
from litellm.llms.base_llm.chat.transformation import BaseLLMException
assert isinstance(exc_info.value, BaseLLMException)
def test_litellm_anthropic_error_handling():
"""Test that AnthropicError from LiteLLM is handled correctly and not retried."""