MCPcopy Create free account
hub / github.com/AI45Lab/Code / promptFor

Function promptFor

sdk/node/ptc_soak.mjs:31–37  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

29// subtasks (each >30s on this model), 4.2.6's 30s default would time out; 4.2.7
30// gives delegation-capable scripts 10min, so it should complete.
31const promptFor = (n) =>
32 'Call the `program` tool exactly once, now, with these arguments, then stop.\n\nArguments:\n' +
33 JSON.stringify({
34 type: 'script',
35 language: 'javascript',
36 source: script(n),
37 });
38
39const agent = await Agent.create(CONFIG);
40

Callers 1

runFunction · 0.85

Calls 1

scriptFunction · 0.85

Tested by

no test coverage detected