Commit Graph

7 Commits

Author SHA1 Message Date
Devin AI
8dc07febc7 fix: sort imports and remove duplicate assertions
Co-Authored-By: Joe Moura <joao@crewai.com>
2025-02-09 23:01:20 +00:00
Devin AI
0423dd8134 fix: improve error handling and import order
- Add better error handling in _get_llm_instance
- Fix import order in test_custom_llm_support.py

Co-Authored-By: Joe Moura <joao@crewai.com>
2025-02-09 22:57:14 +00:00
Devin AI
0ab66041da fix: address type-checker and lint issues
- Add proper type hints in Crew.test()
- Fix import sorting in test file

Co-Authored-By: Joe Moura <joao@crewai.com>
2025-02-09 22:50:06 +00:00
Devin AI
ff620f0ad6 test: switch to VCR for test recording
Co-Authored-By: Joe Moura <joao@crewai.com>
2025-02-09 22:47:00 +00:00
Devin AI
1caf45ad9b test: improve test reliability by mocking LLM responses
Co-Authored-By: Joe Moura <joao@crewai.com>
2025-02-09 22:44:50 +00:00
Devin AI
5f5a1b3687 fix: add expected_output field to Task in tests
Co-Authored-By: Joe Moura <joao@crewai.com>
2025-02-09 22:43:22 +00:00
Devin AI
f3704a44b3 test: add tests for custom LLM support in Crew.test() and CrewEvaluator
- Add tests for string model name input
- Add tests for LLM instance input
- Add tests for backward compatibility
- Add tests for error cases
- Add tests for CrewEvaluator LLM handling

Co-Authored-By: Joe Moura <joao@crewai.com>
2025-02-09 22:42:44 +00:00