Update InfoGenie

This commit is contained in:
2026-04-03 21:18:29 +08:00
parent 6b3fcc1791
commit dbd72610c1
62 changed files with 3192 additions and 255 deletions

View File

@@ -1,7 +1,7 @@
# 复制为 .env.development / .env.production 后填写;勿提交真实密钥
VITE_API_URL=http://127.0.0.1:5002
VITE_AUTH_URL=https://auth.shumengya.top
VITE_AUTH_API_URL=https://auth.api.shumengya.top
VITE_DEBUG=true
# 须与 Go 后端 INFOGENIE_SITE_ADMIN_TOKEN 一致
VITE_SITE_ADMIN_GATE=
# 复制为 .env.development / .env.production 后填写;勿提交真实密钥
VITE_API_URL=http://127.0.0.1:5002
VITE_AUTH_URL=https://auth.shumengya.top
VITE_AUTH_API_URL=https://auth.api.shumengya.top
VITE_DEBUG=true
# 须与 Go 后端 INFOGENIE_SITE_ADMIN_TOKEN 一致
VITE_SITE_ADMIN_GATE=

View File

@@ -725,7 +725,7 @@ const AdminPage = () => {
{adminSection === 'ai-upstream' && (
<InfoCard>
<p className="text-sm text-gray-500 leading-[1.55] mb-3">
此处配置会写入数据库表 <code className="text-xs bg-gray-100 px-1.5 py-0.5 rounded text-gray-700">site_ai_runtime</code><strong></strong> <code className="text-xs bg-gray-100 px-1.5 py-0.5 rounded text-gray-700">ai_config.json</code>
此处配置会写入数据库表 <code className="text-xs bg-gray-100 px-1.5 py-0.5 rounded text-gray-700">site_ai_runtime</code>
密钥留空表示<strong>不修改</strong> API Key
</p>
{loadingAi ? (