feat: add cached homepage information and manual AI interpretations

This commit is contained in:
yuxuanhui
2026-09-12 01:55:24 +08:00
parent 394438e753
commit d9fbaa7cf7
19 changed files with 1674 additions and 18 deletions
+12 -9
View File
@@ -111,23 +111,23 @@ export function ModelSettingsPanel() {
/>
</label>
<label>
模型标识
alpha研究使用模型
<Input
aria-label="模型标识"
aria-label="alpha研究使用模型"
value={draft.model}
onChange={(model) => setDraft({ ...draft, model })}
placeholder="供应商提供的模型名称"
/>
</label>
<label>
Description 模型标识
基础信息处理模型
<Input
aria-label="Description 模型标识"
aria-label="基础信息处理模型"
value={draft.description_model}
onChange={(description_model) =>
setDraft({ ...draft, description_model })
}
placeholder="用于 Alpha 三段式描述的模型名称"
placeholder="用于 Alpha Description、公告摘要与规则解读"
/>
</label>
<label>
@@ -162,9 +162,11 @@ export function ModelSettingsPanel() {
</div>
<p className="muted">
填写服务端可访问的 API 根地址,按供应商要求包含 /v1;无需填写
/chat/completions 或 /responses。密钥加密保存在后端。 Description
模型与研究助手共享 Base URL、API Key
和接口协议;留空时不启用描述生成。
/chat/completions 或 /responses。密钥加密保存在后端。
基础信息处理模型用于 Alpha
Description、公告摘要和首页信息解读,与研究助手共享 Base URL、API Key
和接口协议;留空时不启用描述生成及首页 AI
解读。首页解读仅在手动点击时生成。
</p>
<Checkbox
checked={draft.enabled}
@@ -192,7 +194,8 @@ export function ModelSettingsPanel() {
</Button>
</div>
<p className="muted">
测试连接会向已保存的服务发送少量合成请求,按供应商规则计费。
测试连接使用
alpha研究使用模型,向已保存的服务发送少量合成请求,按供应商规则计费。
</p>
<div
className="ai-test-results"