- Update onnxruntime constraint from ==1.22.0 to >=1.22.1 in pyproject.toml
- Add test to verify onnxruntime version constraint in test_imports.py
- Add comprehensive tests for ONNX embedding functionality
- Fixes issue #3398 where onnxruntime 1.22.0 causes DLL load failures on Windows Server 2019
Resolves: #3398
Co-Authored-By: João <joao@crewai.com>
fix: resolve flaky tests and race conditions in test suite
- Fix telemetry/event tests by patching class methods instead of instances
- Use unique temp files/directories to prevent CI race conditions
- Reset singleton state between tests
- Mock embedchain.Client.setup() to prevent JSON corruption
- Rename test files to test_*.py convention
- Move agent tests to tests/agents directory
- Fix repeated tool usage detection
- Remove database-dependent tools causing initialization errors