feat: grep_files as a tool (#4820)

Add `grep_files` to be able to perform more action in parallel
This commit is contained in:
jif-oai
2025-10-08 11:02:50 +01:00
committed by GitHub
parent a43ae86b6c
commit f52320be86
7 changed files with 591 additions and 9 deletions

View File

@@ -63,8 +63,9 @@ async fn build_codex_with_test_tool(server: &wiremock::MockServer) -> anyhow::Re
}
fn assert_parallel_duration(actual: Duration) {
// Allow headroom for runtime overhead while still differentiating from serial execution.
assert!(
actual < Duration::from_millis(500),
actual < Duration::from_millis(750),
"expected parallel execution to finish quickly, got {actual:?}"
);
}