interface Config {
  wrenApiKey: string; // Legacy field - now handled by server-side proxy routes
  isProduction: boolean;
}

// Initialize config
// NOTE: Wren API key is no longer needed client-side
// All Wren API calls go through server-side proxy routes at /api/wren/*
// which securely handle the API token on the server
export const config: Config = {
  wrenApiKey: 'server-proxy', // Dummy value - actual key is server-side only
  isProduction: process.env.NODE_ENV === 'production'
};

// Log config in development
if (!config.isProduction) {
  console.log('Config:', {
    isProduction: config.isProduction,
    wrenApiKey: '[SERVER-SIDE PROXY]'
  });
}
