(data: any)
| 295 | } |
| 296 | |
| 297 | const generateCode: (data: any) => Promise<Result<any>> = (data: any) => { |
| 298 | const p = (window.MaxKB?.prefix ? window.MaxKB?.prefix : '/admin') + '/api' |
| 299 | return postStream(`${p}${prefix.value}/generate_code`, data) |
| 300 | } |
| 301 | /** |
| 302 | * mcp 节点 |
| 303 | */ |
nothing calls this directly
no test coverage detected