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

Function generateCode

ui/src/api/tool/tool.ts:297–300  ·  view source on GitHub ↗
(data: any)

Source from the content-addressed store, hash-verified

295}
296
297const 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 */

Callers

nothing calls this directly

Calls 1

postStreamFunction · 0.90

Tested by

no test coverage detected