mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-07 03:49:15 +08:00
* fix(research): mount read-only Obsidian tools instead of rag for vault KBs When the selected knowledge base is a connected Obsidian vault, the research block loop now: - resolves KB metadata at construction and records the server-side vault path (no RAG usage audit); - suppresses the rag auto-mount (has_kb=False) and exposes the three read-only Obsidian tools obsidian_search / obsidian_read / obsidian_list; - injects _vault_path server-side, overwriting any model-supplied value; - treats the Obsidian tools as citable so their evidence feeds the citation manager and Phase 4 reporting; - renders an Obsidian-specific system note (en/zh) instructing read-only vault retrieval instead of rag. Indexed KBs, no-KB, and unresolvable references keep their existing behaviour. Closes #752 * fix(research): preserve Obsidian citation context --------- Co-authored-by: szzhoujiarui-sketch <szzhoujiarui-sketch@users.noreply.github.com>