MCPcopy Index your code
hub / github.com/1Panel-dev/MaxKB / generateCode

Function generateCode

ui/src/api/system-resource-management/tool.ts:156–159  ·  view source on GitHub ↗
(data: any)

Source from the content-addressed store, hash-verified

154}
155
156const generateCode: (data: any) => Promise<Result<any>> = (data: any) => {
157 const p = (window.MaxKB?.prefix ? window.MaxKB?.prefix : '/admin') + '/api'
158 return postStream(`${p}${prefix}/generate_code`, data)
159}
160
161/**
162 * 获取工具工作流版本列表

Callers

nothing calls this directly

Calls 1

postStreamFunction · 0.90

Tested by

no test coverage detected