Commit Graph

12 Commits

Author SHA1 Message Date
Devin AI
a2e1b3896e fix: Make model_name optional for custom embedders
Co-Authored-By: Joe Moura <joao@crewai.com>
2025-02-10 00:01:24 +00:00
Devin AI
318a3ad3e7 test: Use ChromaDB in-memory mode for tests to avoid file system issues
Co-Authored-By: Joe Moura <joao@crewai.com>
2025-02-09 23:47:35 +00:00
Devin AI
dbea3758eb test: Add proper environment variable cleanup in memory reset tests
Co-Authored-By: Joe Moura <joao@crewai.com>
2025-02-09 23:43:39 +00:00
Devin AI
528ab0c410 style: Fix import sorting in test_memory_reset.py
Co-Authored-By: Joe Moura <joao@crewai.com>
2025-02-09 23:39:44 +00:00
Devin AI
d058f23d93 style: Fix standard library import order
Co-Authored-By: Joe Moura <joao@crewai.com>
2025-02-09 23:35:27 +00:00
Devin AI
d488859f41 style: Fix import sorting order
Co-Authored-By: Joe Moura <joao@crewai.com>
2025-02-09 23:33:30 +00:00
Devin AI
1353be12ce style: Fix import sorting in test file
Co-Authored-By: Joe Moura <joao@crewai.com>
2025-02-09 23:32:27 +00:00
Devin AI
a293a37ef8 test: Handle both directory removal and empty directory cases
Co-Authored-By: Joe Moura <joao@crewai.com>
2025-02-09 23:29:21 +00:00
Devin AI
0dfa5b05d3 test: Use custom embedder for cleanup test
Co-Authored-By: Joe Moura <joao@crewai.com>
2025-02-09 23:28:23 +00:00
Devin AI
24eeffb87e test: Add OpenAI API key to cleanup test
Co-Authored-By: Joe Moura <joao@crewai.com>
2025-02-09 23:27:49 +00:00
Devin AI
e6698e24cd fix: Convert PosixPath to str for ChromaDB
Co-Authored-By: Joe Moura <joao@crewai.com>
2025-02-09 23:26:51 +00:00
Devin AI
d56523a01a fix: Update embedding configuration and fix type errors
- Add configurable embedding provider support
- Remove OpenAI dependency for memory reset
- Add tests for different embedding providers
- Fix type hints and improve docstrings

Co-Authored-By: Joe Moura <joao@crewai.com>
2025-02-09 23:25:38 +00:00