feat: 重构知识库系统,移除Hermes集成,增强RAG和同步功能

主要变更:
- 移除Hermes智能体及相关回调服务
- 新增知识库RAG、同步、调度、规范化和索引任务服务
- 重构orchestrator服务,增强运行时聊天功能
- 更新前端聊天、政策制度、设置等页面样式和逻辑
- 更新expense_claims和document_intelligence服务
- 删除llm_wiki相关服务和测试文件
- 更新docker-compose配置和启动脚本
This commit is contained in:
caoxiaozhu
2026-05-17 08:38:41 +00:00
parent 212c935308
commit 68f663f2f4
308 changed files with 83729 additions and 13588 deletions

View File

@@ -98,11 +98,11 @@
margin-top: 16px;
}
.folder-rail {
min-height: 0;
display: grid;
grid-template-rows: minmax(0, 1fr) auto;
gap: 12px;
.folder-rail {
min-height: 0;
display: grid;
grid-template-rows: minmax(0, 1fr) auto;
gap: 12px;
border-right: 1px solid #edf2f7;
padding-right: 12px;
}
@@ -136,21 +136,26 @@
font-weight: 850;
}
.folder-tree b {
min-width: 24px;
height: 20px;
display: inline-flex;
.folder-tree b {
min-width: 24px;
height: 20px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 999px;
background: #f1f5f9;
color: #64748b;
font-size: 11px;
}
.new-folder-btn {
min-height: 36px;
display: inline-flex;
color: #64748b;
font-size: 11px;
}
.folder-sync-block {
display: grid;
gap: 8px;
}
.new-folder-btn {
min-height: 36px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
@@ -162,11 +167,27 @@
font-weight: 850;
}
.new-folder-btn.fixed {
border-color: rgba(148, 163, 184, 0.3);
background: #f8fafc;
color: #64748b;
}
.new-folder-btn.fixed {
border-color: rgba(148, 163, 184, 0.3);
background: #f8fafc;
color: #64748b;
}
.knowledge-sync-btn:not(:disabled) {
cursor: pointer;
}
.knowledge-sync-btn:not(:disabled):hover {
border-color: rgba(16, 185, 129, 0.38);
background: #ecfdf5;
color: #047857;
}
.folder-sync-meta {
color: #64748b;
font-size: 12px;
line-height: 1.6;
}
.document-area {
min-width: 0;
@@ -339,6 +360,19 @@ th {
background: #fee2e2;
color: #dc2626;
}
.state-cell {
display: grid;
justify-items: center;
gap: 6px;
}
.state-time {
color: #64748b;
font-size: 11px;
line-height: 1.4;
white-space: nowrap;
}
.more-btn {
width: 32px;