You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ci): resolve HuggingFace tokenizer failures in CI environments
Enhanced the AIRedisConfiguration to properly handle HuggingFace tokenizer
initialization in CI/offline environments by:
1. Bundling the tokenizer.json file for msmarco-distilbert-dot-v5 in resources
2. Implementing fallback logic to try local resources first, then remote download
3. Improving error handling and logging for tokenizer initialization
4. Removing test-specific CI workarounds in favor of comprehensive solution
This addresses the root cause of CI test failures where network restrictions
prevent HuggingFace tokenizer downloads, ensuring all tests can run reliably
in both local and CI environments.
Copy file name to clipboardExpand all lines: redis-om-spring-ai/src/main/resources/tokenizers/sentence-transformers/msmarco-distilbert-dot-v5/tokenizer.json
0 commit comments