feat: address PR review feedback with improved dependency constraints and tests

- Add upper bound to litellm constraint: litellm>=1.72.0,<2.0.0
- Enhance test suite with parameterized testing across multiple model types
- Add version constraint validation test to ensure proper bounds
- Improve test documentation with detailed explanations
- Add error handling enhancements as suggested in review

Addresses feedback from PR review by joaomdmoura in #3006

Co-Authored-By: João <joao@crewai.com>
This commit is contained in:
Devin AI
2025-06-13 12:34:13 +00:00
parent 09538fd06f
commit 4ea7858cec
3 changed files with 58 additions and 11 deletions

2
uv.lock generated
View File

@@ -680,7 +680,7 @@ requires-dist = [
{ name = "instructor", specifier = ">=1.3.3" },
{ name = "json-repair", specifier = ">=0.25.2" },
{ name = "jsonref", specifier = ">=1.1.0" },
{ name = "litellm", specifier = ">=1.72.0" },
{ name = "litellm", specifier = ">=1.72.0,<2.0.0" },
{ name = "mem0ai", marker = "extra == 'mem0'", specifier = ">=0.1.29" },
{ name = "openai", specifier = ">=1.13.3" },
{ name = "openpyxl", specifier = ">=3.1.5" },