We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f1c77f commit 58386d9Copy full SHA for 58386d9
1 file changed
packages/opencode/src/cli/cmd/run.ts
@@ -541,10 +541,9 @@ export const RunCommand = cmd({
541
}
542
543
544
+ // Validate agent if specified
545
const agent = await (async () => {
546
if (!args.agent) return undefined
- if (args.attach) return args.agent
547
-
548
const entry = await Agent.get(args.agent)
549
if (!entry) {
550
UI.println(
0 commit comments