mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-04-27 15:23:14 +08:00
feat: expand node artifact operations and retention
This commit is contained in:
@@ -150,6 +150,9 @@ func (t *NodesTool) writeAudit(req nodes.Request, resp nodes.Response, mode stri
|
||||
"error": resp.Error,
|
||||
"duration_ms": durationMs,
|
||||
}
|
||||
if len(req.Args) > 0 {
|
||||
row["request_args"] = req.Args
|
||||
}
|
||||
if used, _ := resp.Payload["used_transport"].(string); strings.TrimSpace(used) != "" {
|
||||
row["used_transport"] = strings.TrimSpace(used)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user