From 0272d0763bc192f0d0053d12b6851ecdf0dfe908 Mon Sep 17 00:00:00 2001 From: genz27 Date: Tue, 31 Mar 2026 14:55:22 +0800 Subject: [PATCH] fix: secure test page defaults and fallback catalog --- static/test.html | 81 +++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 66 insertions(+), 15 deletions(-) diff --git a/static/test.html b/static/test.html index c7593d2..5949758 100644 --- a/static/test.html +++ b/static/test.html @@ -17,6 +17,7 @@ h1 { text-align: center; margin-bottom: 8px; font-size: 24px; color: #7c8aff; } } .config-bar label { font-size: 13px; color: #888; white-space: nowrap; } .config-bar input { flex: 1; background: #0f1117; border: 1px solid #2a2b3a; color: #e1e1e6; padding: 8px 12px; border-radius: 6px; font-size: 14px; } +.config-note { margin-bottom: 20px; font-size: 12px; color: #7f8498; } .main-layout { display: flex; gap: 20px; } .sidebar { width: 280px; flex-shrink: 0; } @@ -127,10 +128,11 @@ h1 { text-align: center; margin-bottom: 8px; font-size: 24px; color: #7c8aff; }
- +
+

未填写 API Key 或模型列表加载失败时,会回退到内置候选模型;实际生成前仍需填写有效 API Key。

@@ -168,9 +170,6 @@ h1 { text-align: center; margin-bottom: 8px; font-size: 24px; color: #7c8aff; } - - - + +