mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 22:21:22 -07:00
Stop logging tool call error message to clearcut (#10511)
This commit is contained in:
@@ -475,10 +475,6 @@ export class ClearcutLogger {
|
||||
gemini_cli_key: EventMetadataKey.GEMINI_CLI_TOOL_CALL_DURATION_MS,
|
||||
value: JSON.stringify(event.duration_ms),
|
||||
},
|
||||
{
|
||||
gemini_cli_key: EventMetadataKey.GEMINI_CLI_TOOL_ERROR_MESSAGE,
|
||||
value: JSON.stringify(event.error),
|
||||
},
|
||||
{
|
||||
gemini_cli_key: EventMetadataKey.GEMINI_CLI_TOOL_CALL_ERROR_TYPE,
|
||||
value: JSON.stringify(event.error_type),
|
||||
@@ -792,10 +788,6 @@ export class ClearcutLogger {
|
||||
gemini_cli_key: EventMetadataKey.GEMINI_CLI_KITTY_SEQUENCE_LENGTH,
|
||||
value: event.sequence_length.toString(),
|
||||
},
|
||||
{
|
||||
gemini_cli_key: EventMetadataKey.GEMINI_CLI_KITTY_TRUNCATED_SEQUENCE,
|
||||
value: event.truncated_sequence,
|
||||
},
|
||||
];
|
||||
|
||||
this.enqueueLogEvent(
|
||||
|
||||
@@ -79,8 +79,8 @@ export enum EventMetadataKey {
|
||||
// Logs the tool call duration in milliseconds.
|
||||
GEMINI_CLI_TOOL_CALL_DURATION_MS = 17,
|
||||
|
||||
// Logs the tool call error message, if any.
|
||||
GEMINI_CLI_TOOL_ERROR_MESSAGE = 18,
|
||||
// Do not use.
|
||||
DEPRECATED_GEMINI_CLI_TOOL_ERROR_MESSAGE = 18,
|
||||
|
||||
// Logs the tool call error type, if any.
|
||||
GEMINI_CLI_TOOL_CALL_ERROR_TYPE = 19,
|
||||
@@ -259,8 +259,8 @@ export enum EventMetadataKey {
|
||||
// Kitty Sequence Overflow Event Keys
|
||||
// ===========================================================================
|
||||
|
||||
// Logs the truncated kitty sequence.
|
||||
GEMINI_CLI_KITTY_TRUNCATED_SEQUENCE = 52,
|
||||
// Do not use.
|
||||
DEPRECATED_GEMINI_CLI_KITTY_TRUNCATED_SEQUENCE = 52,
|
||||
|
||||
// Logs the length of the kitty sequence that overflowed.
|
||||
GEMINI_CLI_KITTY_SEQUENCE_LENGTH = 53,
|
||||
|
||||
Reference in New Issue
Block a user