mirror of
https://github.com/google-gemini/gemini-cli
synced 2026-05-24 09:38:34 +00:00
Log extension ID with tool call/slash command invocation (#12254)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
parent
4d2a2de557
commit
2a3244b1bb
1 changed files with 13 additions and 0 deletions
|
|
@ -564,6 +564,12 @@ export class ClearcutLogger {
|
|||
}
|
||||
}
|
||||
}
|
||||
if (event.extension_id) {
|
||||
data.push({
|
||||
gemini_cli_key: EventMetadataKey.GEMINI_CLI_EXTENSION_ID,
|
||||
value: event.extension_id,
|
||||
});
|
||||
}
|
||||
|
||||
const logEvent = this.createLogEvent(EventNames.TOOL_CALL, data);
|
||||
this.enqueueLogEvent(logEvent);
|
||||
|
|
@ -779,6 +785,13 @@ export class ClearcutLogger {
|
|||
});
|
||||
}
|
||||
|
||||
if (event.extension_id) {
|
||||
data.push({
|
||||
gemini_cli_key: EventMetadataKey.GEMINI_CLI_EXTENSION_ID,
|
||||
value: event.extension_id,
|
||||
});
|
||||
}
|
||||
|
||||
this.enqueueLogEvent(this.createLogEvent(EventNames.SLASH_COMMAND, data));
|
||||
this.flushIfNeeded();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue