Skip to content

Commit 9c642a3

Browse files
committed
fix: update agent integration prompt in initialization
- Modified the prompt message for adding an agent integration to improve clarity and user experience. - Changed the initial state of the `wantAddAgent` variable from true to false for better default behavior.
1 parent 78ba685 commit 9c642a3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packages/cli/src/commands/init.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -196,12 +196,12 @@ export const init = new Command()
196196
let didAddAgent = false;
197197

198198
if (availableAgents.length > 0) {
199-
const { wantAddAgent } = await prompts({
200-
type: "confirm",
201-
name: "wantAddAgent",
202-
message: `Would you like to add an ${highlighter.info("agent integration")}?`,
203-
initial: true,
204-
});
199+
const { wantAddAgent } = await prompts({
200+
type: "confirm",
201+
name: "wantAddAgent",
202+
message: `Would you like to add an ${highlighter.info("agent integration")}?`,
203+
initial: false,
204+
});
205205

206206
if (wantAddAgent === undefined) {
207207
logger.break();

0 commit comments

Comments
 (0)