Skip to content

Commit 44a7786

Browse files
committed
Update CREATE_PR prompt to use ask_followup_question for gh CLI installation confirmation
1 parent 81c5d19 commit 44a7786

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/shared/support-prompt.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,8 @@ Stage and commit any outstanding changes, then review the changes made in this b
210210
211211
7. Check if gh CLI is installed:
212212
- Run: gh --version
213-
- If not found, guide user to install:
213+
- If not found, use ask_followup_question tool to ask the user if they want to install gh CLI
214+
- If the user agrees, follow one of the installation methods depending on their OS:
214215
* macOS: brew install gh
215216
* Windows: winget install GitHub.cli
216217
* Linux: See https://github.com/cli/cli#installation
@@ -226,7 +227,7 @@ Stage and commit any outstanding changes, then review the changes made in this b
226227
* Offer to have it reviewed by Roo Code Cloud's PR Reviewer agent
227228
* Link: https://roocode.com/reviewer
228229
229-
If gh CLI is not installed or authenticated, provide clear setup instructions and wait for user to complete setup before proceeding.
230+
If gh CLI is not installed or authenticated, use ask_followup_question tool to confirm with the user before proceeding with installation instructions.
230231
</instructions>`,
231232
},
232233
} as const

0 commit comments

Comments
 (0)