feat(rag): align LightRAG native citations and MCP bridge

This commit is contained in:
lix-2026
2026-06-09 09:20:56 +08:00
parent 0e8b03daf8
commit 8e3be8b0b7
39 changed files with 2255 additions and 2732 deletions
-16
View File
@@ -1737,22 +1737,6 @@ fn load_tool_data(
let _ = read_doc_target(args, target)?;
Err(retired_cloud_transport_error(tool_name))
}
"docs_read" => {
let document_id = args
.get("documentId")
.and_then(Value::as_str)
.ok_or_else(|| CliError::validation("docs_read 缺少 documentId"))?;
let _ = document_id;
Err(retired_cloud_transport_error(tool_name))
}
"docs_search" => {
let workspace_id = args
.get("workspaceId")
.and_then(Value::as_str)
.ok_or_else(|| CliError::validation("docs_search 缺少 workspaceId"))?;
let _ = workspace_id;
Err(retired_cloud_transport_error(tool_name))
}
"mindmap_get" | "mindmap_get_subtree" | "mindmap_apply_ops" | "mindmap_put" => {
let document_id = read_doc_target(args, target)?;
let mindmap_id = args