Compare commits

...

1 Commits

Author SHA1 Message Date
Lucas Gomide
c68257efbc style: fix linter issue 2025-04-25 10:30:58 -03:00

View File

@@ -376,6 +376,7 @@ def get_weather_tool_schema():
def test_context_window_exceeded_error_handling():
"""Test that litellm.ContextWindowExceededError is converted to LLMContextLengthExceededException."""
from litellm.exceptions import ContextWindowExceededError
from crewai.utilities.exceptions.context_window_exceeding_exception import (
LLMContextLengthExceededException,
)