- 角色字典实测校准(采样 200+ 账号 currentRole/roles): 1 老师 / 2 校领导 / 3 学生 / 4 家长 / 5 局领导 / 6 工作号 / 7 管理员 → agent.roles: student=[3] teacher=[1,6] parent=[4] admin=[2,5,7] (旧默认 student=[1]/teacher=[2,3]/admin=[4..7] 系臆测,导致老师账号被显示为学生) - 新增家长身份 AgentRole.PARENT;活动报名/取消改由 STUDENT_OR_PARENT 放行 - 当前身份识别增加 roleName 关键词兜底,避免识别不出就降级为访客 - 移除资源库对接:删除 ResourceTools 及注册/编排/agent.modules/module-landing - 测试 48/48 通过
This commit is contained in:
@@ -940,7 +940,6 @@ public class AgentOrchestrator {
|
||||
case "dormnotice": return "宿舍通知";
|
||||
case "familyactivity": return "家校活动";
|
||||
case "coursehomework": return "课程作业";
|
||||
case "resourcelibrary": return "资源库";
|
||||
case "profession": return "教师专业发展";
|
||||
default: return module;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user