mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 16:57:46 +00:00
Added obfuscated google account ID to clearcut log messages (#2593)
This commit is contained in:
@@ -17,7 +17,8 @@ import {
|
||||
} from '../types.js';
|
||||
import { EventMetadataKey } from './event-metadata-key.js';
|
||||
import { Config } from '../../config/config.js';
|
||||
import { getPersistentUserId } from '../../utils/user_id.js';
|
||||
import { getInstallationId } from '../../utils/user_id.js';
|
||||
import { getObfuscatedGoogleAccountId } from '../../utils/user_id.js';
|
||||
|
||||
const start_session_event_name = 'start_session';
|
||||
const new_prompt_event_name = 'new_prompt';
|
||||
@@ -69,7 +70,8 @@ export class ClearcutLogger {
|
||||
console_type: 'GEMINI_CLI',
|
||||
application: 102,
|
||||
event_name: name,
|
||||
client_install_id: getPersistentUserId(),
|
||||
obfuscated_google_account_id: getObfuscatedGoogleAccountId(),
|
||||
client_install_id: getInstallationId(),
|
||||
event_metadata: [data] as object[],
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user