MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_summarize_execution

Function test_summarize_execution

atomic-agent/src/provenance/classify.rs:1437–1441  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1435
1436 #[test]
1437 fn test_summarize_execution() {
1438 let input = serde_json::json!({"command": "npm install express"});
1439 let summary = summarize_tool_call("bash", NodeKind::Execution, Some(&input), None, None);
1440 assert_eq!(summary, "npm install express");
1441 }
1442
1443 #[test]
1444 fn test_summarize_error() {

Callers

nothing calls this directly

Calls 1

summarize_tool_callFunction · 0.85

Tested by

no test coverage detected