Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active
TypeScript aianthropicartifactsawsazurechatgptchatgpt-cloneclaudeclonedeepseekgeminigooglegpt-5librechatmcpo1openairesponses-apivisionwebui
import * as components from '../index';
/** The canonical `Dialog*` names and the `OG*` names the app imports are one component each, so a
* call site can move to the canonical name without any change in behaviour. */
const PARTS = [
'Dialog',
'DialogPortal',
'DialogOverlay',
'DialogClose',
'DialogTrigger',
'DialogContent',
'DialogHeader',
'DialogFooter',
'DialogTitle',
'DialogDescription',
'DialogTemplate',
] as const;
describe('dialog export names', () => {
it.each(PARTS)('exports %s as the same component as its OG name', (name) => {
const exports = components as Record<string, unknown>;
expect(exports[name]).toBeDefined();
expect(exports[name]).toBe(exports[`OG${name}`]);
});
});