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 './polyfills/storage';
import './polyfills/regeneratorRuntime';
import { createRoot } from 'react-dom/client';
import { initializeI18n } from './locales/i18n';
import App from './App';
import '@librechat/client/style.css';
import './style.css';
import './mobile.css';
import { ApiErrorBoundaryProvider } from './hooks/ApiErrorBoundaryContext';
import { clearTTSCache } from './utils/ttscache';
import 'katex/dist/katex.min.css';
import 'katex/dist/contrib/copy-tex.js';
/** Read-aloud audio lives in memory now; drop what earlier versions persisted to disk. */
void clearTTSCache();
const container = document.getElementById('root');
const root = createRoot(container);
async function bootstrap() {
await initializeI18n();
root.render(
<ApiErrorBoundaryProvider>
<App />
</ApiErrorBoundaryProvider>,
);
}
bootstrap().catch((error) => {
console.error('[i18n] Failed to initialize before render', error);
root.render(
<ApiErrorBoundaryProvider>
<App />
</ApiErrorBoundaryProvider>,
);
});