Commit Graph

2 Commits

Author SHA1 Message Date
Devin AI
b3e1f28c2b fix: resolve lint issue in Watson embedding name test
- Change type comparison from == to 'is' to satisfy Ruff E721 rule
- All lint checks now pass locally

Co-Authored-By: João <joao@crewai.com>
2025-09-26 10:56:48 +00:00
Devin AI
9578b60734 fix: add missing name() method to WatsonEmbeddingFunction
Fixes #3597 - ChromaDB expects embedding functions to have a name() method
for validation. Added static method that returns 'watson' following the
same pattern as other embedding functions.

- Added comprehensive tests to verify the fix
- Ensures compatibility with ChromaDB validation requirements
- No regressions in existing Watson embedding functionality

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