1
秦芳睿
8 天以前 e70a362606b78a822e93d5117a9013e8f9086faf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
    "admin/workflow/get_workflow_agent_list":{"map":{"class":"#SMTWorkflowManagerControl", "method":"getWorkflowAgentList"},
            "swaggers":[
            {    "tags" : ["工作流管理"],
                "title" : "获取工作流执行器列表",
                "parameters" : [
                ]
            }
        ]
    },
    
    "admin/workflow/add_workflow_agent":{"map":{"class":"#SMTWorkflowManagerControl", "method":"addWorkflowAgent"},
            "swaggers":[
            {    "tags" : ["工作流管理"],
                "title" : "添加工作流执行器",
                "parameters" : [
                    {"name":"group_id", "title":"分组id", "required":true},
                    {"name":"title", "title":"工作流名称", "required":true},
                    {"name":"prompt", "title":"工作流提示", "required":true},
                    {"name":"inner_call", "title":"内部调用(Y/N)", "required":true}
                ]
            }
        ]
    },
    
    "admin/workflow/delete_workflow_agent":{"map":{"class":"#SMTWorkflowManagerControl", "method":"deleteWorkflowAgent"},
            "swaggers":[
            {    "tags" : ["工作流管理"],
                "title" : "删除工作流执行器",
                "parameters" : [
                    {"name":"agent_id", "title":"工作流id", "required":true}
                ]
            }
        ]
    },
    
    "admin/workflow/update_workflow_agent":{"map":{"class":"#SMTWorkflowManagerControl", "method":"updateWorkflowAgent"},
            "swaggers":[
            {    "tags" : ["工作流管理"],
                "title" : "更新工作流执行器",
                "parameters" : [
                    {"name":"agent_id", "title":"工作流id", "required":true},
                    {"name":"title", "title":"工作流名称", "required":true},
                    {"name":"prompt", "title":"工作流提示", "required":true}
                ]
            }
        ]
    },
    
    "admin/metrics/check_workflow_agent_validate":{"map":{"class":"#SMTWorkflowManagerControl", "method":"checkWorkflowAgentValidate"},
            "swaggers":[
            {    "tags" : ["工作流管理"],
                "title" : "测试工作流agent",
                "parameters" : [
                    {"name":"agent_id", "title":"agent id", "required":true},
                    {"name":"question", "title":"问题", "required":true}
                ]
            }
        ]
    },
    
    "admin/workflow/get_workflow_json_flow":{"map":{"class":"#SMTWorkflowManagerControl", "method":"getWorkflowJsonFlow"},
            "swaggers":[
            {    "tags" : ["工作流管理"],
                "title" : "获取工作流程图json",
                "parameters" : [
                    {"name":"agent_id", "title":"工作流id", "required":true}
                ]
            }
        ]
    },
    
    "admin/workflow/update_workflow_json_flow":{"map":{"class":"#SMTWorkflowManagerControl", "method":"updateWorkflowJsonFlow"},
            "swaggers":[
            {    "tags" : ["工作流管理"],
                "title" : "设置工作流程图json",
                "parameters" : [
                    {"name":"agent_id", "title":"工作流id", "required":true},
                    {"name":"json_flow", "title":"工作流程json", "required":true}
                ]
            }
        ]
    },
    
    "admin/workflow/get_agent_names":{"map":{"class":"#SMTWorkflowManagerControl", "method":"getFlowJsonAgentNames"},
            "swaggers":[
            {    "tags" : ["工作流管理"],
                "title" : "获取所有可被调用的agent",
                "parameters" : [
                ]
            }
        ]
    },
    
    "admin/workflow/get_flow_func_names":{"map":{"class":"#SMTWorkflowManagerControl", "method":"getFlowJsonFuncNames"},
            "swaggers":[
            {    "tags" : ["工作流管理"],
                "title" : "获取所有可被调用的功能",
                "parameters" : [
                ]
            }
        ]
    },
    
    "admin/workflow/publish_workflow_agent":{"map":{"class":"#SMTWorkflowManagerControl", "method":"publishWorkflowAgent"},
            "swaggers":[
            {    "tags" : ["工作流管理"],
                "title" : "发布工作流",
                "parameters" : [
                    {"name":"agent_id", "title":"agent id", "required":true},
                    {"name":"publish", "title":"是否发布", "required":true}
                ]
            }
        ]
    },
    "admin/workflow/get_llm_info_list":{"map":{"class":"#SMTWorkflowManagerControl", "method":"getLLMInfoList"},
            "swaggers":[
            {    "tags" : ["工作流管理"],
                "title" : "获取大模型名称列表",
                "parameters" : [
                ]
            }
        ]
    },
    "n8n/get_n8n_name_list":{"map":{"class":"#SMTWorkflowManagerControl", "method":"getN8NNameList"},"no_shrio": true,
            "swaggers":[
            {    "tags" : ["查询n8n工作流list"],
                "title" : "查询n8n工作流list",
                "parameters" : [
                    {"name":"active", "title":"active", "required":false},
                    {"name":"tags", "title":"tags", "required":false},
                    {"name":"name", "title":"name", "required":false},
                    {"name":"projectId", "title":"projectId", "required":false},
                    {"name":"excludePinnedData", "title":"excludePinnedData", "required":false}
                ]
            }
        ]
    }
 
}