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; }