Commit Graph

2 Commits

Author SHA1 Message Date
Devin AI
a24a71a316 Fix lint issue: Remove unused os import from reproduction script
Co-Authored-By: Jo\u00E3o <joao@crewai.com>
2025-07-15 10:05:44 +00:00
Devin AI
5756d82da1 Fix issue #3165: Enhanced error handling for custom OpenAI-compatible endpoints
- Enhanced LLMCallFailedEvent with error_type, original_error, and endpoint_info fields
- Updated LLM.call() to capture detailed error information for custom endpoints
- Enhanced console formatter to display specific error details instead of generic 'LLM Failed'
- Added comprehensive tests covering connection errors, authentication errors, and streaming responses
- Maintains backward compatibility with existing error handling
- Includes reproduction script to verify the fix

Co-Authored-By: Jo\u00E3o <joao@crewai.com>
2025-07-15 10:02:58 +00:00