mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-08 15:48:29 +00:00
- Introduced LLMCallBlockedError to manage blocked LLM calls from before_llm_call hooks. - Updated LLM class to raise LLMCallBlockedError instead of returning a boolean. - Enhanced Agent class to emit events and handle LLMCallBlockedError during task execution. - Added error handling in CrewAgentExecutor and agent utilities to gracefully manage blocked calls. - Updated tests to verify behavior when LLM calls are blocked.