feat: 增强知识库索引与设置页面模块化拆分
扩展知识库索引任务和 RAG 检索支持增量入库和文档去重,优 化本体检测和规则匹配精度,前端设置页面拆分为 LLM、邮件 和 Hermes 员工同步子面板并重构样式,新增日志详情组件和 知识入库日志模型,补充单元测试覆盖。
This commit is contained in:
@@ -522,8 +522,10 @@
|
||||
|
||||
.insight-panel-shell {
|
||||
flex: none;
|
||||
display: flex;
|
||||
width: clamp(300px, 28vw, 420px);
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
max-width: 100%;
|
||||
margin-left: 0;
|
||||
overflow: hidden;
|
||||
@@ -634,6 +636,30 @@
|
||||
box-shadow: 0 10px 22px rgba(226, 232, 240, 0.48);
|
||||
}
|
||||
|
||||
.message-bubble-review-risk-low {
|
||||
border-color: rgba(37, 99, 235, 0.72);
|
||||
background: linear-gradient(180deg, rgba(239, 246, 255, 0.72), rgba(255, 255, 255, 0.96));
|
||||
box-shadow:
|
||||
0 0 0 2px rgba(37, 99, 235, 0.12),
|
||||
0 12px 24px rgba(37, 99, 235, 0.1);
|
||||
}
|
||||
|
||||
.message-bubble-review-risk-medium {
|
||||
border-color: rgba(217, 119, 6, 0.78);
|
||||
background: linear-gradient(180deg, rgba(255, 251, 235, 0.76), rgba(255, 255, 255, 0.96));
|
||||
box-shadow:
|
||||
0 0 0 2px rgba(217, 119, 6, 0.14),
|
||||
0 12px 24px rgba(217, 119, 6, 0.11);
|
||||
}
|
||||
|
||||
.message-bubble-review-risk-high {
|
||||
border-color: rgba(220, 38, 38, 0.78);
|
||||
background: linear-gradient(180deg, rgba(254, 242, 242, 0.78), rgba(255, 255, 255, 0.96));
|
||||
box-shadow:
|
||||
0 0 0 2px rgba(220, 38, 38, 0.14),
|
||||
0 12px 24px rgba(220, 38, 38, 0.11);
|
||||
}
|
||||
|
||||
.message-meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -814,6 +840,26 @@
|
||||
color: #1d4ed8;
|
||||
}
|
||||
|
||||
.message-answer-markdown :deep(.markdown-action-link-next),
|
||||
.message-answer-markdown :deep(.markdown-action-link-edit) {
|
||||
color: #1d4ed8;
|
||||
}
|
||||
|
||||
.message-answer-markdown :deep(.markdown-risk-text-low) {
|
||||
color: #2563eb;
|
||||
font-weight: 850;
|
||||
}
|
||||
|
||||
.message-answer-markdown :deep(.markdown-risk-text-medium) {
|
||||
color: #d97706;
|
||||
font-weight: 850;
|
||||
}
|
||||
|
||||
.message-answer-markdown :deep(.markdown-risk-text-high) {
|
||||
color: #dc2626;
|
||||
font-weight: 850;
|
||||
}
|
||||
|
||||
.message-answer-markdown :deep(.markdown-table-wrap) {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
|
||||
Reference in New Issue
Block a user