To test:
./lamini upThen open localhost:3000, this endpoint can auto reload of frontend code.
To enable the gated features with Statsig locally, add the globalData.config.environment == "dev" condition to the line that is using the Statsig.checkGate.
For example, to enable the Memory RAG locally, search for all MEMORY_RAG_UI in the codes, and make the following changes:
// 1. file: frontend/src/App.tsx:
// from:
{Statsig.checkGate(StatsigGate.MEMORY_RAG_UI) && (
// to:
{(Statsig.checkGate(StatsigGate.MEMORY_RAG_UI) || globalData.config.environment == "dev") && (
// from:
Statsig.checkGate(StatsigGate.MEMORY_RAG_UI)
// to:
(Statsig.checkGate(StatsigGate.MEMORY_RAG_UI) || globalData.config.environment == "dev"))
// 2. file: frontend/src/components/NavigationBar.tsx
// from:
if (Statsig.checkGate(StatsigGate.MEMORY_RAG_UI)) {
// to:
if (Statsig.checkGate(StatsigGate.MEMORY_RAG_UI) || globalData.config.environment == "dev") {