|
| 1 | +/** |
| 2 | + * Data for the model/endpoint compatibility matrix (rendered by |
| 3 | + * components/CompatibilityMatrix.tsx on /docs/compatibility). |
| 4 | + * |
| 5 | + * This is a manually-maintained quick reference. Edit the `matrix` below when |
| 6 | + * support changes and bump `LAST_REVIEWED`. Cells use coarse states so the |
| 7 | + * table stays honest: capabilities that depend on the chosen model are marked |
| 8 | + * "model" rather than a hard yes/no. |
| 9 | + */ |
| 10 | + |
| 11 | +export const LAST_REVIEWED = '2026-06-18' |
| 12 | + |
| 13 | +export type Support = 'yes' | 'no' | 'model' | 'agents' |
| 14 | + |
| 15 | +export const SUPPORT_LEGEND: Record<Support, { symbol: string; label: string }> = { |
| 16 | + yes: { symbol: '✓', label: 'Supported' }, |
| 17 | + no: { symbol: '—', label: 'Not supported' }, |
| 18 | + model: { symbol: '◐', label: 'Depends on the model' }, |
| 19 | + agents: { symbol: '⚙', label: 'Via the Agents endpoint' }, |
| 20 | +} |
| 21 | + |
| 22 | +export interface Endpoint { |
| 23 | + id: string |
| 24 | + name: string |
| 25 | + href?: string |
| 26 | +} |
| 27 | + |
| 28 | +export interface Capability { |
| 29 | + id: string |
| 30 | + name: string |
| 31 | + href?: string |
| 32 | +} |
| 33 | + |
| 34 | +/** Columns: LibreChat endpoint types. */ |
| 35 | +export const endpoints: Endpoint[] = [ |
| 36 | + { id: 'openai', name: 'OpenAI', href: '/docs/configuration/pre_configured_ai/openai' }, |
| 37 | + { id: 'azure', name: 'Azure OpenAI', href: '/docs/configuration/azure' }, |
| 38 | + { id: 'anthropic', name: 'Anthropic', href: '/docs/configuration/pre_configured_ai/anthropic' }, |
| 39 | + { id: 'google', name: 'Google', href: '/docs/configuration/pre_configured_ai/google' }, |
| 40 | + { id: 'bedrock', name: 'AWS Bedrock', href: '/docs/configuration/pre_configured_ai/bedrock' }, |
| 41 | + { |
| 42 | + id: 'custom', |
| 43 | + name: 'Custom (OpenAI-compatible)', |
| 44 | + href: '/docs/configuration/librechat_yaml/ai_endpoints', |
| 45 | + }, |
| 46 | + { id: 'agents', name: 'Agents', href: '/docs/features/agents' }, |
| 47 | + { |
| 48 | + id: 'assistants', |
| 49 | + name: 'Assistants', |
| 50 | + href: '/docs/configuration/pre_configured_ai/assistants', |
| 51 | + }, |
| 52 | +] |
| 53 | + |
| 54 | +/** Rows: LibreChat capabilities. */ |
| 55 | +export const capabilities: Capability[] = [ |
| 56 | + { id: 'streaming', name: 'Streaming responses' }, |
| 57 | + { id: 'vision', name: 'Vision (image input)' }, |
| 58 | + { id: 'tools', name: 'Tools / function calling' }, |
| 59 | + { id: 'web_search', name: 'Web Search', href: '/docs/features/web_search' }, |
| 60 | + { id: 'code_interpreter', name: 'Code Interpreter', href: '/docs/features/code_interpreter' }, |
| 61 | + { id: 'artifacts', name: 'Artifacts', href: '/docs/features/artifacts' }, |
| 62 | + { id: 'file_search', name: 'File Search (RAG)', href: '/docs/features/rag_api' }, |
| 63 | + { id: 'image_gen', name: 'Image Generation', href: '/docs/features/image_gen' }, |
| 64 | + { id: 'ocr', name: 'OCR', href: '/docs/features/ocr' }, |
| 65 | + { id: 'memory', name: 'Memory', href: '/docs/features/memory' }, |
| 66 | + { id: 'mcp', name: 'MCP', href: '/docs/features/mcp' }, |
| 67 | +] |
| 68 | + |
| 69 | +/** |
| 70 | + * matrix[capabilityId][endpointId] = support state. |
| 71 | + * First-pass values — maintainers should verify against the current release. |
| 72 | + */ |
| 73 | +export const matrix: Record<string, Record<string, Support>> = { |
| 74 | + streaming: { |
| 75 | + openai: 'yes', |
| 76 | + azure: 'yes', |
| 77 | + anthropic: 'yes', |
| 78 | + google: 'yes', |
| 79 | + bedrock: 'yes', |
| 80 | + custom: 'yes', |
| 81 | + agents: 'yes', |
| 82 | + assistants: 'yes', |
| 83 | + }, |
| 84 | + vision: { |
| 85 | + openai: 'model', |
| 86 | + azure: 'model', |
| 87 | + anthropic: 'model', |
| 88 | + google: 'model', |
| 89 | + bedrock: 'model', |
| 90 | + custom: 'model', |
| 91 | + agents: 'model', |
| 92 | + assistants: 'model', |
| 93 | + }, |
| 94 | + tools: { |
| 95 | + openai: 'model', |
| 96 | + azure: 'model', |
| 97 | + anthropic: 'model', |
| 98 | + google: 'model', |
| 99 | + bedrock: 'model', |
| 100 | + custom: 'model', |
| 101 | + agents: 'yes', |
| 102 | + assistants: 'yes', |
| 103 | + }, |
| 104 | + web_search: { |
| 105 | + openai: 'yes', |
| 106 | + azure: 'yes', |
| 107 | + anthropic: 'yes', |
| 108 | + google: 'yes', |
| 109 | + bedrock: 'yes', |
| 110 | + custom: 'yes', |
| 111 | + agents: 'yes', |
| 112 | + assistants: 'no', |
| 113 | + }, |
| 114 | + code_interpreter: { |
| 115 | + openai: 'yes', |
| 116 | + azure: 'yes', |
| 117 | + anthropic: 'yes', |
| 118 | + google: 'yes', |
| 119 | + bedrock: 'yes', |
| 120 | + custom: 'yes', |
| 121 | + agents: 'yes', |
| 122 | + assistants: 'yes', |
| 123 | + }, |
| 124 | + artifacts: { |
| 125 | + openai: 'yes', |
| 126 | + azure: 'yes', |
| 127 | + anthropic: 'yes', |
| 128 | + google: 'yes', |
| 129 | + bedrock: 'yes', |
| 130 | + custom: 'yes', |
| 131 | + agents: 'yes', |
| 132 | + assistants: 'no', |
| 133 | + }, |
| 134 | + file_search: { |
| 135 | + openai: 'yes', |
| 136 | + azure: 'yes', |
| 137 | + anthropic: 'yes', |
| 138 | + google: 'yes', |
| 139 | + bedrock: 'yes', |
| 140 | + custom: 'yes', |
| 141 | + agents: 'yes', |
| 142 | + assistants: 'yes', |
| 143 | + }, |
| 144 | + image_gen: { |
| 145 | + openai: 'agents', |
| 146 | + azure: 'agents', |
| 147 | + anthropic: 'agents', |
| 148 | + google: 'agents', |
| 149 | + bedrock: 'agents', |
| 150 | + custom: 'agents', |
| 151 | + agents: 'yes', |
| 152 | + assistants: 'agents', |
| 153 | + }, |
| 154 | + ocr: { |
| 155 | + openai: 'yes', |
| 156 | + azure: 'yes', |
| 157 | + anthropic: 'yes', |
| 158 | + google: 'yes', |
| 159 | + bedrock: 'yes', |
| 160 | + custom: 'yes', |
| 161 | + agents: 'yes', |
| 162 | + assistants: 'yes', |
| 163 | + }, |
| 164 | + memory: { |
| 165 | + openai: 'yes', |
| 166 | + azure: 'yes', |
| 167 | + anthropic: 'yes', |
| 168 | + google: 'yes', |
| 169 | + bedrock: 'yes', |
| 170 | + custom: 'yes', |
| 171 | + agents: 'yes', |
| 172 | + assistants: 'no', |
| 173 | + }, |
| 174 | + mcp: { |
| 175 | + openai: 'agents', |
| 176 | + azure: 'agents', |
| 177 | + anthropic: 'agents', |
| 178 | + google: 'agents', |
| 179 | + bedrock: 'agents', |
| 180 | + custom: 'agents', |
| 181 | + agents: 'yes', |
| 182 | + assistants: 'no', |
| 183 | + }, |
| 184 | +} |
0 commit comments