清理: 授权开关注释去箭头装饰符

This commit is contained in:
lxy
2026-09-29 15:09:54 +08:00
parent 9962e17710
commit 71811807d5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -326,7 +326,7 @@ pub(crate) async fn process_tool_calls(
.clone();
let allowed_guard = allowed_snapshot.read().await.clone();
// 「信任所有目录」总开关(KV df-ai-path-auth-bypass,默认关):开启后白名单外路径不再挂起
// 授权弹窗(NeedsAuth→直接放行),黑名单 Denied 仍硬拒(凭据目录自保护不受影响)。
// 授权弹窗(NeedsAuth 时直接放行),黑名单 Denied 仍硬拒(凭据目录自保护不受影响)。
// 读取失败按关处理(fail-safe,默认行为不变);前端设置页改后下一轮 process_tool_calls 即生效。
let path_auth_bypass = app_handle
.state::<crate::state::AppState>()