2026-04-09 10:01:23 +08:00
|
|
|
package request
|
|
|
|
|
|
|
|
|
|
type SkillDefinitionListRequest struct {
|
|
|
|
|
Name string `json:"name"`
|
|
|
|
|
Code string `json:"code"`
|
|
|
|
|
Status int `json:"status"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type CreateSkillDefinitionRequest struct {
|
2026-04-09 11:42:40 +08:00
|
|
|
Code string `json:"code"`
|
|
|
|
|
Name string `json:"name"`
|
|
|
|
|
Description string `json:"description"`
|
|
|
|
|
Content string `json:"content"`
|
|
|
|
|
Examples []string `json:"examples"`
|
|
|
|
|
AllowedToolCodes []string `json:"allowedToolCodes"`
|
|
|
|
|
Priority int `json:"priority"`
|
|
|
|
|
Remark string `json:"remark"`
|
2026-04-09 10:01:23 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type UpdateSkillDefinitionRequest struct {
|
|
|
|
|
ID int64 `json:"id"`
|
|
|
|
|
CreateSkillDefinitionRequest
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type DeleteSkillDefinitionRequest struct {
|
|
|
|
|
ID int64 `json:"id"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type UpdateSkillDefinitionStatusRequest struct {
|
|
|
|
|
ID int64 `json:"id"`
|
|
|
|
|
Status int `json:"status"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type SkillDebugRunRequest struct {
|
|
|
|
|
AIAgentID int64 `json:"aiAgentId"`
|
|
|
|
|
ConversationID int64 `json:"conversationId"`
|
|
|
|
|
SkillCode string `json:"skillCode"`
|
|
|
|
|
UserMessage string `json:"userMessage"`
|
|
|
|
|
}
|
2026-04-10 17:27:44 +08:00
|
|
|
|
|
|
|
|
type SkillDebugResumeRequest struct {
|
|
|
|
|
AIAgentID int64 `json:"aiAgentId"`
|
|
|
|
|
ConversationID int64 `json:"conversationId"`
|
|
|
|
|
CheckPointID string `json:"checkPointId"`
|
|
|
|
|
UserMessage string `json:"userMessage"`
|
|
|
|
|
}
|