Fix event listener to pass event parameter for enhanced error display

- Updated on_llm_call_failed to pass the event object to handle_llm_call_failed
- This enables the console formatter to display enhanced error details
- Completes the integration of enhanced error handling for custom endpoints

Co-Authored-By: Jo\u00E3o <joao@crewai.com>
This commit is contained in:
Devin AI
2025-07-15 10:09:12 +00:00
parent a24a71a316
commit 86cc00a5dd

View File

@@ -361,6 +361,7 @@ class EventListener(BaseEventListener):
self.formatter.current_tool_branch,
event.error,
self.formatter.current_crew_tree,
event,
)
@crewai_event_bus.on(LLMStreamChunkEvent)