feat(agent): 增强 Agent 配置,新增结构化字段与聊天功能支持
This commit is contained in:
1 parent
ac4262cd75
commit
c8ce77199e
183 files changed
+11690
-2300
No files matched your search
@@ -147,7 +147,7 @@ export function createLeaveFlowApi(ctx: LeaveFlowContext) {
|
||||
if (action !== 'start-leave-flow' || ctx.isThinking.value) return false;
|
||||
event.preventDefault();
|
||||
if (!ctx.canUseLeaveFeature.value) {
|
||||
ctx.msg.warning('请在“通用入口”或“人事规章”入口使用请假功能');
|
||||
ctx.msg.warning(ctx.t('chat.leaveFeatureAgentRequired'));
|
||||
return true;
|
||||
}
|
||||
void startLocalLeaveFlow('我要请假');
|
||||
|
||||
Reference in new issue
Block a user