Commit Graph

2 Commits

Author SHA1 Message Date
Devin AI
3b046c4881 fix: resolve lint issues in Watson environment variable tests
- Add noqa comments for hardcoded password warnings (S105)
- Change Exception to ValueError for specific exception handling (B017)
- Maintains all test functionality while passing lint checks

Co-Authored-By: João <joao@crewai.com>
2025-09-26 09:45:47 +00:00
Devin AI
b14bcd01c5 fix: standardize Watson environment variables to WATSONX_ prefix
- Update WatsonProvider to use WATSONX_ prefixed environment variables
- Maintain backward compatibility for existing WATSON_ variables
- Add comprehensive tests for both naming conventions
- Fixes inconsistency between CLI constants and embeddings provider

Fixes #3595

Co-Authored-By: João <joao@crewai.com>
2025-09-26 09:40:33 +00:00