v1.1.0 新增大模型配置管理:页面可配置分析网页的LLM接口(名称/BaseURL/Key/模型/温度/超时/默认),支持视觉标记——视觉模型走截图视觉分析路线,非视觉模型走DOM快照文本分析路线;任务创建可选模型并记录使用情况

This commit is contained in:
2026-08-10 12:01:05 +08:00
parent fd67548052
commit 69b6f8ccfb
8 changed files with 678 additions and 43 deletions
+20
View File
@@ -78,3 +78,23 @@ a.report-link:hover { text-decoration: underline; }
.step-shot img { max-width: 320px; border-radius: 8px; border: 1px solid #e5e7eb; display: block; margin-top: 6px; cursor: zoom-in; }
.step-detail { font-size: 12px; color: #374151; }
.step-time { font-size: 11px; color: #9ca3af; margin-left: 8px; }
/* 大模型配置 */
select { padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 14px; background: #fff; }
select:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.mode-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.mode-badge.vision { background: #ede9fe; color: #6d28d9; }
.mode-badge.text { background: #f3f4f6; color: #4b5563; }
.tag { font-size: 11px; font-weight: 400; margin-left: 6px; padding: 1px 8px; border-radius: 999px; }
.tag-vision { background: #ede9fe; color: #6d28d9; }
.tag-text { background: #f3f4f6; color: #4b5563; }
.url-cell { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.model-cell { font-weight: 600; }
.ops { white-space: nowrap; }
.llm-modal-body { width: 560px; height: auto; max-height: 92vh; }
.llm-form { padding: 18px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; overflow-y: auto; }
.llm-opts { display: flex; flex-direction: row; gap: 20px; align-items: center; }
.check { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #374151; cursor: pointer; }
.check input { width: auto; }
.llm-actions { grid-column: span 2; display: flex; align-items: center; gap: 12px; }
.llm-test-result { font-size: 12px; color: #6b7280; word-break: break-all; }