(tool_id, data)
| 290 | * data |
| 291 | */ |
| 292 | const debugToolWorkflow: (tool_id: string, data: any) => Promise<any> = (tool_id, data) => { |
| 293 | const p = (window.MaxKB?.prefix ? window.MaxKB?.prefix : '/admin') + '/api' |
| 294 | return postStream(`${p}${prefix.value}/${tool_id}/debug`, data) |
| 295 | } |
| 296 | |
| 297 | const generateCode: (data: any) => Promise<Result<any>> = (data: any) => { |
| 298 | const p = (window.MaxKB?.prefix ? window.MaxKB?.prefix : '/admin') + '/api' |
nothing calls this directly
no test coverage detected