refactor agent execution

This commit is contained in:
Ramnique Singh 2025-11-16 20:58:31 +05:30
parent 92b702d039
commit a76cb6089c
6 changed files with 224 additions and 222 deletions

View file

@ -20,12 +20,18 @@ yargs(hideBin(process.argv))
.option("input", {
type: "string",
description: "The input to the agent",
})
.option("no-interactive", {
type: "boolean",
description: "Do not interact with the user",
default: false,
}),
(argv) => {
app({
agent: argv.agent,
runId: argv.run_id,
input: argv.input,
noInteractive: argv.noInteractive,
});
}
)