mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-12 12:54:07 -07:00
feat(telemetry): add diff stats to tool call metrics (#10819)
This commit is contained in:
@@ -209,6 +209,14 @@ export function logToolCall(config: Config, event: ToolCallEvent): void {
|
||||
success: event.success,
|
||||
decision: event.decision,
|
||||
tool_type: event.tool_type,
|
||||
...(event.metadata
|
||||
? {
|
||||
model_added_lines: event.metadata['model_added_lines'],
|
||||
model_removed_lines: event.metadata['model_removed_lines'],
|
||||
user_added_lines: event.metadata['user_added_lines'],
|
||||
user_removed_lines: event.metadata['user_removed_lines'],
|
||||
}
|
||||
: {}),
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user