refactor: rename direct tools to MCP tools across the codebase for consistency
This commit is contained in:
@@ -70,7 +70,7 @@ type CreateAIAgentRequest struct {
|
||||
FallbackMessage string `json:"fallbackMessage"`
|
||||
KnowledgeBaseIDs []int64 `json:"knowledgeBaseIds"`
|
||||
SkillIDs []int64 `json:"skillIds"`
|
||||
DirectTools []AIAgentMCPToolRequest `json:"directTools"`
|
||||
MCPTools []AIAgentMCPToolRequest `json:"mcpTools"`
|
||||
WorkflowBindings []AIAgentWorkflowBindingRequest `json:"workflowBindings"`
|
||||
}
|
||||
|
||||
|
||||
@@ -120,7 +120,7 @@ type AIAgentResponse struct {
|
||||
KnowledgeBaseIDs []int64 `json:"knowledgeBaseIds"`
|
||||
SkillIDs []int64 `json:"skillIds"`
|
||||
Skills []AIAgentSkillResponse `json:"skills"`
|
||||
DirectTools []AIAgentMCPToolResponse `json:"directTools"`
|
||||
MCPTools []AIAgentMCPToolResponse `json:"mcpTools"`
|
||||
WorkflowBindings []AIAgentWorkflowBindingResponse `json:"workflowBindings"`
|
||||
WorkflowVersionID int64 `json:"workflowVersionId"`
|
||||
PublishedRevisionID int64 `json:"publishedRevisionId"`
|
||||
|
||||
@@ -12,12 +12,12 @@ error.e0011: "The AI configuration is not enabled."
|
||||
error.e0012: "AI configuration not found."
|
||||
error.e0014: "Checkpoint not found."
|
||||
error.e0015: "The checkpoint does not belong to this AI Agent."
|
||||
error.e0016: "Direct Tool toolCode does not match serverCode."
|
||||
error.e0017: "Direct Tool toolCode does not match toolName."
|
||||
error.e0018: "Invalid Direct Tool toolCode format."
|
||||
error.e0019: "Direct Tool toolCode, serverCode, and toolName are required."
|
||||
error.e0020: "Direct Tools can only contain MCP tools."
|
||||
error.e0021: "Invalid Direct Tools configuration format."
|
||||
error.e0016: "MCP Tool toolCode does not match serverCode."
|
||||
error.e0017: "MCP Tool toolCode does not match toolName."
|
||||
error.e0018: "Invalid MCP Tool toolCode format."
|
||||
error.e0019: "MCP Tool toolCode, serverCode, and toolName are required."
|
||||
error.e0020: "Only MCP Tools can be configured."
|
||||
error.e0021: "Invalid MCP Tool configuration."
|
||||
error.e0022: "The Excel file is empty."
|
||||
error.e0023: "Failed to parse the Excel file."
|
||||
error.e0024: "Failed to read the Excel file."
|
||||
|
||||
@@ -12,12 +12,12 @@ error.e0011: "AI 配置未启用"
|
||||
error.e0012: "AI配置不存在"
|
||||
error.e0014: "CheckPoint 不存在"
|
||||
error.e0015: "CheckPoint 与 AI Agent 不匹配"
|
||||
error.e0016: "Direct Tool 的 toolCode 与 serverCode 不一致"
|
||||
error.e0017: "Direct Tool 的 toolCode 与 toolName 不一致"
|
||||
error.e0018: "Direct Tool 的 toolCode 格式不合法"
|
||||
error.e0019: "Direct Tool 的 toolCode、serverCode 和 toolName 不能为空"
|
||||
error.e0020: "Direct Tools 仅允许配置 MCP 工具"
|
||||
error.e0021: "Direct Tools 配置格式不合法"
|
||||
error.e0016: "MCP Tool 的 toolCode 与 serverCode 不一致"
|
||||
error.e0017: "MCP Tool 的 toolCode 与 toolName 不一致"
|
||||
error.e0018: "MCP Tool 的 toolCode 格式不合法"
|
||||
error.e0019: "MCP Tool 的 toolCode、serverCode 和 toolName 不能为空"
|
||||
error.e0020: "仅允许配置 MCP Tool"
|
||||
error.e0021: "MCP Tool 配置格式不合法"
|
||||
error.e0022: "Excel文件为空"
|
||||
error.e0023: "Excel文件解析失败"
|
||||
error.e0024: "Excel文件读取失败"
|
||||
|
||||
Reference in New Issue
Block a user