MCPcopy Create free account
hub / github.com/ModelEngine-Group/app-platform / getInputParams

Function getInputParams

agent-flow/src/data/GraphOperator.js:34–42  ·  view source on GitHub ↗
(shape)

Source from the content-addressed store, hash-verified

32 };
33
34 const getInputParams = (shape) => {
35 if (shape.type === 'startNodeStart') {
36 return shape.flowMeta.inputParams;
37 } else if (shape.type === 'endNodeEnd') {
38 return shape.flowMeta.callback.converter.entity.inputParams;
39 } else {
40 return shape.flowMeta.jober.converter.entity.inputParams;
41 }
42 };
43
44 const getConfigByKeys = (keys) => {
45 if (!Array.isArray(keys)) {

Callers 1

getConfigByKeysFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected