import CodeEditor from '@/components/CodeEditor' import { CDN_DEMO_CN_URL, CDN_DEMO_URL } from '@/constants' import { useLanguage } from '@/i18n/context' export default function CdnSetup() { const { isZh } = useLanguage() return (

{isZh ? 'CDN 引入' : 'CDN Setup'}

{isZh ? 'CDN 提供两种构建版本:Demo 版用于快速体验,标准版用法与 NPM 一致。' : 'CDN provides two builds: Demo for quick testing, standard build with usage identical to NPM.'}

{/* Demo Build Section */}

{isZh ? '🚀 快速体验' : '🚀 Quick Try'}

{isZh ? '自动初始化并使用内置 Demo LLM,无需任何配置:' : 'Auto-initializes with built-in demo LLM, no configuration needed:'}

`} />
⚠️{' '} {isZh ? '仅用于技术评估,Demo 模型有速率限制。' : 'For evaluation only. Demo model has rate limits.'}
{isZh ? '位置' : 'Location'} URL
{isZh ? '全球' : 'Global'} {CDN_DEMO_URL}
{isZh ? '中国' : 'China'} {CDN_DEMO_CN_URL}
) }