feat(chat): 透传培训agent账号角色到dify

This commit is contained in:
runny committed 2026-07-07 05:05:13 +08:00
1 parent fd024c1c32
commit 9ea49d7060
5 files changed
+114 -4

No files matched your search

+1 -1
View File
@@ -921,7 +921,7 @@ const update = () => { isMobile.value = window.innerHeight > window.innerWidth;
“新人入职培训 Agent”不建议走纯 Dify 考试编排主链,推荐采用:
- **主链**:Chat 页面内嵌培训工作区 + 前端受控状态机 + 后端真实记录落库
- **辅助层**:Dify 承担培训 FAQ、知识点解释、HR 自然语言统计问答(ChatBI)
- **辅助层**:Dify 承担培训 FAQ、知识点解释、HR 自然语言统计问答(ChatBI);员工培训 Agent 对接 Dify 时额外透传后台账号 `role`,供画布区分学员/HR/管理员提示词或分支
该方案更符合培训考试场景对“流程刚性、成绩可信、状态可恢复、结果可审计”的要求。