()
| 1835 | // ── CONSORTIUM Settings Tab ──────────────────────────────────────────── |
| 1836 | |
| 1837 | function ConsortiumTab() { |
| 1838 | const { |
| 1839 | consortiumEnabled, |
| 1840 | setConsortiumEnabled, |
| 1841 | consortiumTier, |
| 1842 | setConsortiumTier, |
| 1843 | ultraplinianApiUrl, |
| 1844 | ultraplinianApiKey, |
| 1845 | } = useStore() |
| 1846 | |
| 1847 | const tiers: { id: 'fast' | 'standard' | 'smart' | 'power' | 'ultra'; label: string; models: number; desc: string }[] = [ |
| 1848 | { id: 'fast', label: 'FAST', models: 12, desc: 'Collect from 12 models + orchestrator synthesis (~20-30s)' }, |
| 1849 | { id: 'standard', label: 'STANDARD', models: 27, desc: 'Collect from 27 models + orchestrator synthesis (~30-45s)' }, |
| 1850 | { id: 'smart', label: 'SMART', models: 39, desc: 'Collect from 39 models + orchestrator synthesis (~40-60s)' }, |
| 1851 | { id: 'power', label: 'POWER', models: 49, desc: 'Collect from 49 models + orchestrator synthesis (~45-65s)' }, |
| 1852 | { id: 'ultra', label: 'ULTRA', models: 56, desc: 'Collect from ALL 56 models + orchestrator synthesis (~55-80s)' }, |
| 1853 | ] |
| 1854 | |
| 1855 | return ( |
| 1856 | <div className="space-y-5"> |
| 1857 | <div> |
| 1858 | <h3 className="text-lg font-semibold mb-1">CONSORTIUM Mode</h3> |
| 1859 | <p className="text-sm theme-secondary mb-4"> |
| 1860 | The hive mind. Query ALL models in parallel, then feed every response to a |
| 1861 | strong orchestrator that synthesizes ground truth from collective intelligence. |
| 1862 | Configure <span className="text-cyan-400 font-mono text-xs">LIQUID</span> delivery in the Liquid tab. |
| 1863 | </p> |
| 1864 | </div> |
| 1865 | |
| 1866 | {/* Master toggle */} |
| 1867 | <ToggleSetting |
| 1868 | label="Enable CONSORTIUM" |
| 1869 | description="Collect all model responses and synthesize ground truth via orchestrator" |
| 1870 | enabled={consortiumEnabled} |
| 1871 | onChange={setConsortiumEnabled} |
| 1872 | /> |
| 1873 | |
| 1874 | {consortiumEnabled && ( |
| 1875 | <> |
| 1876 | {/* Needs ULTRAPLINIAN API configured */} |
| 1877 | {(!ultraplinianApiUrl || !ultraplinianApiKey) && ( |
| 1878 | <div className="p-4 bg-theme-dim border border-yellow-500/30 rounded-lg"> |
| 1879 | <div className="flex items-start gap-3"> |
| 1880 | <AlertTriangle className="w-5 h-5 text-yellow-500 flex-shrink-0 mt-0.5" /> |
| 1881 | <div className="text-sm"> |
| 1882 | <p className="font-semibold mb-1 text-yellow-500">API Not Configured</p> |
| 1883 | <p className="theme-secondary text-xs"> |
| 1884 | CONSORTIUM uses the same API server as ULTRAPLINIAN. Configure your API URL and key in the ULTRAPLINIAN tab first. |
| 1885 | </p> |
| 1886 | </div> |
| 1887 | </div> |
| 1888 | </div> |
| 1889 | )} |
| 1890 | |
| 1891 | {/* Tier selector */} |
| 1892 | <div> |
| 1893 | <h4 className="font-semibold mb-3 text-sm">Collection Tier</h4> |
| 1894 | <div className="space-y-2"> |
nothing calls this directly
no outgoing calls
no test coverage detected