Files
crewAI/lib
Devin AI 6dcc7ac725 Fix: Replace SystemExit with LLMContextLengthExceededError in handle_context_length
- 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>
2025-10-22 04:53:24 +00:00
..