improve: address PR feedback for OpenAI 1.78 support

- Add inline documentation for litellm version constraints
- Improve test implementation with pytest markers and constants
- Add clearer assertion messages for better error reporting

Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
Devin AI
2025-05-27 12:15:00 +00:00
parent 8583a7a30d
commit 75b4e84457
2 changed files with 22 additions and 15 deletions

View File

@@ -11,6 +11,8 @@ dependencies = [
# Core Dependencies
"pydantic>=2.4.2",
"openai>=1.13.3",
# litellm: v1.68.0+ required for OpenAI 1.78 compatibility
# Upper bound <1.72.0 to ensure stability and prevent issues with breaking changes
"litellm>=1.68.0,<1.72.0",
"instructor>=1.3.3",
# Text Processing