feat: update README with enhanced descriptions and security features; refactor catastrophic guard checks and tool execution handling

This commit is contained in:
asepharyana
2026-07-12 03:37:27 +07:00
parent d957e8d4ce
commit 4bfbe1d1b9
7 changed files with 250 additions and 210 deletions
+3 -2
View File
@@ -27,7 +27,8 @@ impl Tool for SeqThink {
})
}
fn run(&self, _ctx: &ToolCtx, _args: &Value) -> Result<String> {
Ok(String::new())
fn run(&self, _ctx: &ToolCtx, args: &Value) -> Result<String> {
let thought = args.get("thought").and_then(|v| v.as_str()).unwrap_or("");
Ok(thought.to_string())
}
}