mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-06 05:19:30 +08:00
LightRAG 1.5.7 defaults enable_rerank on, so query_with_sources emitted a per-query warning whenever no rerank model was configured. Gate the flag on the presence of a callable rerank_model_func so the default deployment stops warning without changing behavior for anyone who wired a reranker. Co-authored-by: ZQR1101 <278034003+ZQR1101@users.noreply.github.com>