Skip to content

Commit 4252cc1

Browse files
samedsonjoehan
andauthored
Update scripts/agent-evals/src/runner/gemini-cli-runner.ts
Co-authored-by: Joe Hanley <joehanley@google.com>
1 parent 92edf80 commit 4252cc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/agent-evals/src/runner/gemini-cli-runner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export class GeminiCliRunner implements AgentTestRunner {
162162

163163
for (const logData of parsedLogs) {
164164
// Look for tool call logs
165-
if (logData.attributes && logData.attributes["event.name"] === "gemini_cli.tool_call") {
165+
if (logData.attributes?.function_name && logData.attributes["event.name"] === "gemini_cli.tool_call") {
166166
const toolName = logData.attributes.function_name!;
167167
logs.push({
168168
name: toolName,

0 commit comments

Comments
 (0)