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

Function generateCode

ui/src/api/system-shared/tool.ts:210–218  ·  view source on GitHub ↗
(
  data: any,
)

Source from the content-addressed store, hash-verified

208}
209
210const generateCode: (data: any) => Promise<Result<any>> = (
211 data: any,
212) => {
213 const p = (window.MaxKB?.prefix ? window.MaxKB?.prefix : '/admin') + '/api'
214 return postStream(
215 `${p}${prefix}/generate_code`,
216 data,
217 )
218}
219
220/**
221 * 导入工具工作流

Callers

nothing calls this directly

Calls 1

postStreamFunction · 0.90

Tested by

no test coverage detected