Simpler assert.

This commit is contained in:
Christian Gunderman
2026-02-11 17:14:57 -08:00
parent 80017bf986
commit c1a954341c

View File

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