mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-13 07:30:52 -07:00
Simpler assert.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user