feat: 按 Vault 隔离桌面检索投影与任务链接

This commit is contained in:
2026-09-08 15:12:25 +08:00
parent 044e6d6146
commit e9df45b7ca
13 changed files with 225 additions and 11 deletions
+4
View File
@@ -55,6 +55,10 @@ class RetrievalEngine:
@track_search
async def search(self, request: SearchRequest) -> SearchResponse:
from app.config import get_settings
if get_settings().environment == 'desktop':
from app.services.desktop_projection import refresh
await refresh()
if request.mode == SearchMode.fts:
return self._search_fts(request)