Skip to content

Commit 2854b13

Browse files
committed
fix: cn remote command
use agent option for cn remote
1 parent cdf770a commit 2854b13

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

extensions/cli/src/commands/remote.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ type RemoteCommandOptions = {
2121
branch?: string;
2222
repo?: string;
2323
config?: string;
24+
agent?: string;
2425
};
2526

2627
type TunnelResponse = {
@@ -169,7 +170,7 @@ function buildAgentRequestBody(
169170
repoUrl: options.repo ?? getRepoUrl(),
170171
name: `devbox-${Date.now()}`,
171172
prompt,
172-
agent: options.config,
173+
agent: options.agent,
173174
config: options.config,
174175
};
175176

0 commit comments

Comments
 (0)