Commit graph

5 commits

Author SHA1 Message Date
clssck
c5f230a30c test: fix env handling, add type hints, improve docs
Improve code quality and test robustness:
- Refactor environment variable parsing in rerank config using centralized get_env_value helper
- Add return type hints to all test methods for better type safety
- Fix patch path in test from lightrag.utils to lightrag.rerank for correct import location
- Clarify batch insert endpoint behavior regarding duplicate content rejection
- Expand .dockerignore to comprehensively exclude node_modules (200MB+), Python cache files, and venv directories
- Update dependency groups: align evaluation and test extras with pytest/pre-commit/ruff tools
2025-12-03 15:02:11 +01:00
yangdx
6d1ae40478 Add offline Docker build support with embedded models and cache
- Add offline Dockerfile with tiktoken cache
- Create GitHub workflow for offline builds
- Update dockerignore for cleaner builds
- Exclude dev dirs from package setup
- Remove tiktoken volume from compose
2025-10-15 15:40:30 +08:00
Yannick Stephan
50919442e9 Improve git and docker ignore 2025-02-15 00:58:24 +01:00
Enrique Catalá
cacb429ad9 fix linting 2025-02-13 11:35:38 +01:00
Enrique Catalá
4d0a316717 exclude .env file with potentionally sensitive information like LLM API KEYS 2025-02-12 21:32:19 +01:00