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

Function downloadSkillFile

ui/src/api/system-resource-management/tool.ts:149–154  ·  view source on GitHub ↗
(
  tool_id,
  loading,
)

Source from the content-addressed store, hash-verified

147}
148
149const downloadSkillFile: (tool_id: string, loading?: Ref<boolean>) => Promise<Result<any>> = (
150 tool_id,
151 loading,
152) => {
153 return download(`${prefix}/${tool_id}/download_skill_file`, 'GET', undefined, undefined, loading)
154}
155
156const generateCode: (data: any) => Promise<Result<any>> = (data: any) => {
157 const p = (window.MaxKB?.prefix ? window.MaxKB?.prefix : '/admin') + '/api'

Callers

nothing calls this directly

Calls 1

downloadFunction · 0.90

Tested by

no test coverage detected