Commit Graph

3 Commits

Author SHA1 Message Date
Devin AI
d8231a04d0 Address PR review feedback: Add type hints and parametrized tests
- Added type hints to all test functions and variables for better maintainability
- Added parametrized test to verify multiple watsonx models can be selected
- Imported pytest for parametrized testing functionality
- All tests continue to pass locally (6 passed)
- Addresses review suggestions from joaomdmoura

Co-Authored-By: João <joao@crewai.com>
2025-06-10 10:27:17 +00:00
Devin AI
18a6973198 Fix lint issues: Remove unused imports from test file
- Removed unused pytest import
- Removed unused MagicMock import
- All tests continue to pass locally
- Addresses CI lint check failure

Co-Authored-By: João <joao@crewai.com>
2025-06-10 10:20:25 +00:00
Devin AI
048f05c755 Fix issue #2984: Add support for watsonx/meta-llama/llama-4-maverick-17b-128e-instruct-fp8 model
- Added watsonx/meta-llama/llama-4-maverick-17b-128e-instruct-fp8 to the watsonx models list in constants.py
- Created comprehensive tests to verify CLI model selection and LLM instantiation
- All existing tests continue to pass with no regressions
- Fixes CLI validation error when users try to select this model for watsonx provider

Resolves #2984

Co-Authored-By: João <joao@crewai.com>
2025-06-10 10:13:05 +00:00