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

This commit is contained in:
2026-09-08 15:12:25 +08:00
parent bc1403bc85
commit 495cc4a24e
11 changed files with 219 additions and 10 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)