feat: remove fallback mode and max AI reply rounds from AIAgent model and related components

This commit is contained in:
mlogclub
2026-04-10 16:08:17 +08:00
parent ea327e2d97
commit c1d42be1fc
11 changed files with 11 additions and 172 deletions
+2 -33
View File
@@ -1,16 +1,5 @@
// Code generated by cmd/enums/generator.go. DO NOT EDIT.
export enum AIAgentFallbackMode {
NoAnswer = 1,
GuideRephrase = 2,
Handoff = 3,
}
export const AIAgentFallbackModeLabels: Record<AIAgentFallbackMode, string> = {
[AIAgentFallbackMode.NoAnswer]: "直接声明无答案",
[AIAgentFallbackMode.GuideRephrase]: "引导补充信息或换个问法",
[AIAgentFallbackMode.Handoff]: "直接转人工",
}
export enum AIAgentHandoffMode {
WaitPool = 1,
DefaultTeamPool = 2,
@@ -75,9 +64,11 @@ export const ContactTypeLabels: Record<ContactType, string> = {
export enum ExternalSource {
WebChat = "web_chat",
WxWorkKF = "wxwork_kf",
}
export const ExternalSourceLabels: Record<ExternalSource, string> = {
[ExternalSource.WebChat]: "网页客服",
[ExternalSource.WxWorkKF]: "企业微信客服",
}
export enum Gender {
@@ -340,15 +331,6 @@ export const ServiceStatusLabels: Record<ServiceStatus, string> = {
[ServiceStatus.Busy]: "忙碌",
}
export enum SkillExecutionMode {
PromptOnly = "prompt_only",
MCPTool = "mcp_tool",
}
export const SkillExecutionModeLabels: Record<SkillExecutionMode, string> = {
[SkillExecutionMode.PromptOnly]: "Prompt直出",
[SkillExecutionMode.MCPTool]: "MCP工具",
}
export enum Status {
Ok = 0,
Disabled = 1,
@@ -369,19 +351,6 @@ export const ThirdProviderLabels: Record<ThirdProvider, string> = {
[ThirdProvider.Dingtalk]: "钉钉",
}
export enum TicketPriority {
Low = 1,
Normal = 2,
High = 3,
Urgent = 4,
}
export const TicketPriorityLabels: Record<TicketPriority, string> = {
[TicketPriority.Low]: "低",
[TicketPriority.Normal]: "普通",
[TicketPriority.High]: "高",
[TicketPriority.Urgent]: "紧急",
}
export enum TicketSeverity {
Minor = 1,
Major = 2,