refactor: remove role metadata from subagent artifacts
This commit is contained in:
@@ -34,8 +34,6 @@ function makeResult(meta, startedAt, input = {}) {
|
||||
mode: meta.mode,
|
||||
taskIndex: meta.taskIndex,
|
||||
step: meta.step,
|
||||
agent: meta.agent,
|
||||
agentSource: meta.agentSource,
|
||||
task: meta.task,
|
||||
cwd: meta.cwd,
|
||||
requestedModel: meta.requestedModel,
|
||||
@@ -69,8 +67,6 @@ async function runWrapper(meta, startedAt) {
|
||||
|
||||
const args = ["--mode", "json", "--session", meta.sessionPath];
|
||||
if (effectiveModel) args.push("--model", effectiveModel);
|
||||
if (Array.isArray(meta.tools) && meta.tools.length > 0) args.push("--tools", meta.tools.join(","));
|
||||
if (meta.systemPromptPath) args.push("--append-system-prompt", meta.systemPromptPath);
|
||||
args.push(meta.task);
|
||||
|
||||
let finalText = "";
|
||||
|
||||
Reference in New Issue
Block a user