mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-22 13:21:07 -05:00
refactor: remove redundant experimentConfigs array, use experimentConfigsMap directly
This commit is contained in:
@@ -41,8 +41,6 @@ export const experimentConfigsMap: Record<ExperimentKey, ExperimentConfig> = {
|
||||
},
|
||||
}
|
||||
|
||||
// Keep the array version for backward compatibility
|
||||
export const experimentConfigs = Object.values(experimentConfigsMap)
|
||||
export const experimentDefault = Object.fromEntries(
|
||||
Object.entries(experimentConfigsMap).map(([_, config]) => [config.id, config.enabled]),
|
||||
) as Record<ExperimentId, boolean>
|
||||
|
||||
Reference in New Issue
Block a user