- Add LIGHTRAG_MULTI_TENANT env var to control multi-tenant mode - Add multi_tenant_enabled flag to /auth-status and /health endpoints - Update LoginPage to auto-redirect in single-tenant mode - Update App.tsx to set default tenant/KB in single-tenant mode - Update TenantSelector to skip API calls in single-tenant mode - Update SiteHeader to hide tenant selector in single-tenant mode - Update useTenantInitialization hook to skip in single-tenant mode - Update AuthStore with multiTenantEnabled state In single-tenant mode (default): - No tenant selection UI shown - Auto-creates default tenant and KB context - Direct access to all WebUI features In multi-tenant mode (LIGHTRAG_MULTI_TENANT=true): - Shows tenant/KB selection UI - Requires tenant API routes to be configured |
||
|---|---|---|
| .. | ||
| index.html | ||