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
/** Identify the loaded entry asset, not the version returned by a newer server. */
export function getClientBuildId(targetDocument = document) {
for (const script of targetDocument.querySelectorAll('script[type="module"][src]')) {
const filename = script.getAttribute('src').split(/[?#]/, 1)[0].split('/').pop();
if (/^index[.-][\w-]+\.js$/.test(filename)) {
return filename;
}
}
return 'unknown';
}