MCPcopy Create free account
hub / github.com/ScaleML/AgentSPEX / addCall

Function addCall

yaml-flow-editor/src/components/NodeConfigPanel.tsx:210–213  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

208 const calls = gatherData.calls || [];
209
210 const addCall = () => {
211 const newCall: GatherCall = { module: '', parameters: {}, save_as: '' };
212 handleChange('calls', [...calls, newCall]);
213 };
214
215 const updateCall = (index: number, field: keyof GatherCall, value: unknown) => {
216 const updated = [...calls];

Callers

nothing calls this directly

Calls 1

handleChangeFunction · 0.85

Tested by

no test coverage detected