Add experiment logging and add caching experiment (#12862)

This commit is contained in:
cornmander
2025-11-10 23:15:38 -05:00
committed by GitHub
parent 22b0550520
commit 4fbeac8b32
3 changed files with 175 additions and 10 deletions

View File

@@ -0,0 +1,14 @@
/**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
export const ExperimentFlags = {
CONTEXT_COMPRESSION_THRESHOLD:
'GeminiCLIContextCompression__threshold_fraction',
USER_CACHING: 'GcliUserCaching__user_caching',
} as const;
export type ExperimentFlagName =
(typeof ExperimentFlags)[keyof typeof ExperimentFlags];