feat: implement skill debug resume functionality and related API endpoints
This commit is contained in:
@@ -308,6 +308,13 @@ export type SkillDebugRunPayload = {
|
||||
userMessage: string
|
||||
}
|
||||
|
||||
export type SkillDebugResumePayload = {
|
||||
aiAgentId: number
|
||||
conversationId?: number
|
||||
checkPointId: string
|
||||
userMessage: string
|
||||
}
|
||||
|
||||
export type SkillDebugRunResult = {
|
||||
skillCode: string
|
||||
skillName: string
|
||||
@@ -916,6 +923,13 @@ export function debugRunSkillDefinition(payload: SkillDebugRunPayload) {
|
||||
})
|
||||
}
|
||||
|
||||
export function debugResumeSkillDefinition(payload: SkillDebugResumePayload) {
|
||||
return request<SkillDebugRunResult>("/api/console/skill-definition/debug_resume", {
|
||||
method: "POST",
|
||||
body: JSON.stringify(payload),
|
||||
})
|
||||
}
|
||||
|
||||
export function testMCPConnection(serverCode: string) {
|
||||
return request<MCPConnectionResult>("/api/console/mcp/test_connection", {
|
||||
method: "POST",
|
||||
|
||||
Reference in New Issue
Block a user