pub fn is_codesearch_no_match_output(
tool_name: &str,
success: bool,
output: &str,
) -> boolExpand description
Return whether a successful codesearch result represents a no-match response.
ยงExamples
use codetether_agent::session::helper::runtime::is_codesearch_no_match_output;
assert!(is_codesearch_no_match_output(
"codesearch",
true,
"No matches found for pattern: example",
));
assert!(!is_codesearch_no_match_output("read", true, "No matches found"));