Merge branch 'main' into lg-update-litellm

This commit is contained in:
Lucas Gomide
2025-04-25 10:34:27 -03:00
committed by GitHub

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,
)