MCPcopy
hub / github.com/modstart-lib/aigcpanel / buildTaskParam

Function buildTaskParam

electron/mapi/httpserver/main.ts:158–163  ·  view source on GitHub ↗
(funcName: string, param: any)

Source from the content-addressed store, hash-verified

156};
157
158const buildTaskParam = (funcName: string, param: any) => {
159 if (funcName === "videoGen" || funcName === "asr") {
160 return param?.param || {};
161 }
162 return {};
163};
164
165const buildTaskTitle = (funcName: string, param: any): string => {
166 switch (funcName) {

Callers 1

createAppFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected