fix: add missing loguru dependency

core/logger.py imports loguru but it was not listed in requirements.txt,
causing ModuleNotFoundError on fresh installs. Also added to the README
dependency list.
This commit is contained in:
kigland
2026-03-09 12:59:57 +08:00
parent 9a4a3fbc50
commit 35edfae1c7
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -124,7 +124,7 @@ python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
```
**Core dependencies:** PyTorch, Transformers, FAISS (`faiss-cpu`), CMA, scikit-learn, FastAPI, OpenAI SDK, Rich, tenacity.
**Core dependencies:** PyTorch, Transformers, FAISS (`faiss-cpu`), CMA, scikit-learn, FastAPI, OpenAI SDK, Rich, tenacity, loguru.
> **Note:** The surrogate model (microsoft/phi-2, ~5 GB) will be downloaded automatically on first run.
+1
View File
@@ -8,6 +8,7 @@ rich==13.7.0
tenacity==8.2.3
pyyaml==6.0.1
pydantic==2.5.2
loguru>=0.7.0
transformers==4.36.2
torch==2.1.2
scikit-learn>=1.3.0