mirror of
https://github.com/crewAIInc/crewAI.git
synced 2025-12-16 04:18:35 +00:00
- Changed handle_context_length to raise LLMContextLengthExceededError instead of SystemExit when respect_context_window=False - This allows proper exception handling and prevents the entire application from terminating - Added comprehensive unit tests to verify the fix - Updated test imports to include LLMContextLengthExceededError Fixes #3774 Co-Authored-By: João <joao@crewai.com>