From c1a954341c397b89a7d1b0aa31bc688d9f0b1db7 Mon Sep 17 00:00:00 2001 From: Christian Gunderman Date: Wed, 11 Feb 2026 17:14:57 -0800 Subject: [PATCH] Simpler assert. --- evals/frugalSearch.eval.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/evals/frugalSearch.eval.ts b/evals/frugalSearch.eval.ts index 26b196e8c0..56664d7a01 100644 --- a/evals/frugalSearch.eval.ts +++ b/evals/frugalSearch.eval.ts @@ -197,10 +197,7 @@ describe('Frugal Search', () => { // Check that it actually tried to find it using appropriate tools const validAttempts = toolCalls.filter((call) => { const args = getParams(call); - if ( - call.toolRequest.name === 'grep_search' && - (args.total_max_matches || args.max_matches_per_file) - ) { + if (call.toolRequest.name === 'grep_search') { return true; }