- Fix CustomLLM.call method to avoid modifying messages parameter
- Add better error messages for isinstance checks as suggested in review
- Replace assert with proper exception handling in guardrail validation
- Add type hints to CustomLLM test class
- Add edge case test for invalid LLM type
Co-Authored-By: João <joao@crewai.com>