(tool_id, data)
| 269 | * data |
| 270 | */ |
| 271 | const debugToolWorkflow: (tool_id: string, data: any) => Promise<any> = (tool_id, data) => { |
| 272 | const p = (window.MaxKB?.prefix ? window.MaxKB?.prefix : '/admin') + '/api' |
| 273 | return postStream(`${p}${prefix}/${tool_id}/debug`, data) |
| 274 | } |
| 275 | |
| 276 | /** |
| 277 | * 保存工具工作流 |
nothing calls this directly
no test coverage detected