mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-25 08:26:22 +02:00
refactor agent execution
This commit is contained in:
parent
92b702d039
commit
a76cb6089c
6 changed files with 224 additions and 222 deletions
|
|
@ -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,
|
||||
});
|
||||
}
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue