Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

685 B
Raw Blame
import JevPanel from '../models/JevPanel.jsx';
import ModelAbuseGuardPanel from '../models/ModelAbuseGuardPanel.jsx';
import LocalLlmLibraryView from './LocalLlmLibraryView.jsx';

// Dispatcher only. These destinations are promoted into the Models navigator;
// this component keeps the existing routes and mounts only the selected panel.
export function LocalLlmTab({ view }) {
  const activeView = ['abuse', 'jev'].includes(view) ? view : 'library';

  return (
    <div>
      {activeView === 'abuse' && <ModelAbuseGuardPanel />}
      {activeView === 'library' && <LocalLlmLibraryView />}
      {activeView === 'jev' && <JevPanel />}
    </div>
  );
}

export default LocalLlmTab;