2026-04-09 10:01:23 +08:00
|
|
|
package response
|
|
|
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
|
|
type SkillDefinitionResponse struct {
|
2026-04-12 10:16:03 +08:00
|
|
|
ID int64 `json:"id"`
|
|
|
|
|
Code string `json:"code"`
|
|
|
|
|
Name string `json:"name"`
|
|
|
|
|
Description string `json:"description"`
|
|
|
|
|
Instruction string `json:"instruction"`
|
|
|
|
|
Examples []string `json:"examples"`
|
|
|
|
|
ToolWhitelist []string `json:"toolWhitelist"`
|
|
|
|
|
Status int `json:"status"`
|
|
|
|
|
StatusName string `json:"statusName"`
|
|
|
|
|
Remark string `json:"remark"`
|
|
|
|
|
CreatedAt time.Time `json:"createdAt"`
|
|
|
|
|
UpdatedAt time.Time `json:"updatedAt"`
|
|
|
|
|
CreateUserName string `json:"createUserName"`
|
|
|
|
|
UpdateUserName string `json:"updateUserName"`
|
2026-04-09 10:01:23 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type SkillDebugRunResponse struct {
|
2026-04-12 10:17:27 +08:00
|
|
|
SkillCode string `json:"skillCode"`
|
|
|
|
|
SkillName string `json:"skillName"`
|
|
|
|
|
ReplyText string `json:"replyText"`
|
|
|
|
|
PlanReason string `json:"planReason"`
|
|
|
|
|
SkillRouteTrace string `json:"skillRouteTrace"`
|
|
|
|
|
ToolWhitelist []string `json:"toolWhitelist"`
|
|
|
|
|
ExposedToolCodes []string `json:"exposedToolCodes"`
|
|
|
|
|
InvokedToolCodes []string `json:"invokedToolCodes"`
|
|
|
|
|
ToolSearchTrace string `json:"toolSearchTrace"`
|
|
|
|
|
GraphToolTrace string `json:"graphToolTrace"`
|
|
|
|
|
GraphToolCode string `json:"graphToolCode"`
|
|
|
|
|
InterruptType string `json:"interruptType"`
|
|
|
|
|
CheckPointID string `json:"checkPointId"`
|
|
|
|
|
Interrupted bool `json:"interrupted"`
|
|
|
|
|
TraceData string `json:"traceData"`
|
|
|
|
|
ErrorMessage string `json:"errorMessage"`
|
|
|
|
|
ConversationID int64 `json:"conversationId"`
|
|
|
|
|
AIAgentID int64 `json:"aiAgentId"`
|
2026-04-09 10:01:23 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type AgentRunLogResponse struct {
|
2026-04-12 14:12:04 +08:00
|
|
|
ID int64 `json:"id"`
|
|
|
|
|
ConversationID int64 `json:"conversationId"`
|
|
|
|
|
MessageID int64 `json:"messageId"`
|
2026-05-27 22:18:43 +08:00
|
|
|
RequestID string `json:"requestId"`
|
2026-04-12 14:12:04 +08:00
|
|
|
AIAgentID int64 `json:"aiAgentId"`
|
|
|
|
|
AIConfigID int64 `json:"aiConfigId"`
|
|
|
|
|
UserMessage string `json:"userMessage"`
|
|
|
|
|
PlannedAction string `json:"plannedAction"`
|
|
|
|
|
PlannedSkillCode string `json:"plannedSkillCode"`
|
|
|
|
|
PlannedSkillName string `json:"plannedSkillName"`
|
|
|
|
|
SkillRouteTrace string `json:"skillRouteTrace"`
|
|
|
|
|
ToolSearchTrace string `json:"toolSearchTrace"`
|
|
|
|
|
GraphToolTrace string `json:"graphToolTrace"`
|
|
|
|
|
GraphToolCode string `json:"graphToolCode"`
|
|
|
|
|
RecommendedAction string `json:"recommendedAction"`
|
|
|
|
|
RiskLevel string `json:"riskLevel"`
|
|
|
|
|
TicketDraftReady bool `json:"ticketDraftReady"`
|
|
|
|
|
HandoffReason string `json:"handoffReason"`
|
|
|
|
|
PlannedToolCode string `json:"plannedToolCode"`
|
|
|
|
|
PlanReason string `json:"planReason"`
|
|
|
|
|
InterruptType string `json:"interruptType"`
|
|
|
|
|
ResumeSource string `json:"resumeSource"`
|
|
|
|
|
HitlStatus string `json:"hitlStatus"`
|
|
|
|
|
HitlStatusName string `json:"hitlStatusName"`
|
|
|
|
|
HitlSummary string `json:"hitlSummary"`
|
|
|
|
|
FinalAction string `json:"finalAction"`
|
|
|
|
|
FinalStatus string `json:"finalStatus"`
|
|
|
|
|
ReplyText string `json:"replyText"`
|
|
|
|
|
ErrorMessage string `json:"errorMessage"`
|
|
|
|
|
LatencyMs int64 `json:"latencyMs"`
|
|
|
|
|
TraceData string `json:"traceData"`
|
|
|
|
|
CreatedAt string `json:"createdAt"`
|
2026-04-09 10:01:23 +08:00
|
|
|
}
|