mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-22 23:31:12 +02:00
- Add threading.Lock for thread-safe lazy initialization of models - Implement double-checked locking pattern in all initialization methods: - _initialize_embedding_model - _initialize_chunker - _initialize_code_chunker - _initialize_reranker - Remove unused _models_initialized variable - Consolidate RERANKERS_ENABLED check in _initialize_reranker - Remove redundant check from reranker_instance property Addresses PR #15 review feedback for thread-safety concerns |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| global_llm_config.example.yaml | ||
| global_llm_config.yaml.template | ||
| uvicorn.py | ||