修复未使用的 MCP 根路径参数
将未使用参数恢复为下划线前缀,消除 Rust 编译警告 其余工作区改动保持未暂存
This commit is contained in:
@@ -1017,7 +1017,7 @@ async fn call_agc_web_search(arguments: &Value) -> Value {
|
||||
.await
|
||||
}
|
||||
|
||||
async fn handle_direct_tools_mcp_request(root: &Path, request: Value) -> Option<Value> {
|
||||
async fn handle_direct_tools_mcp_request(_root: &Path, request: Value) -> Option<Value> {
|
||||
let id = request.get("id").cloned();
|
||||
let method = request.get("method").and_then(Value::as_str)?;
|
||||
if id.is_none() {
|
||||
|
||||
Reference in New Issue
Block a user