Skip to content

Commit e231fe2

Browse files
committed
tests: update snaps
1 parent 57f1090 commit e231fe2

File tree

5 files changed

+25
-0
lines changed

5 files changed

+25
-0
lines changed

src/core/prompts/__tests__/__snapshots__/add-custom-instructions/architect-mode-prompt.snap

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,11 @@ Examples:
271271

272272
## ask_followup_question
273273
Description: Ask the user a question to gather additional information needed to complete the task. This tool should be used when you encounter ambiguities, need clarification, or require more details to proceed effectively. It allows for interactive problem-solving by enabling direct communication with the user. Use this tool judiciously to maintain a balance between gathering necessary information and avoiding excessive back-and-forth.
274+
IMPORTANT: Before asking the user for information:
275+
1. YOU MUST FIRST use available tools (eg, search_files, list_files, ...) to locate any needed information
276+
2. YOU MUST ONLY request user-provided details when those tools cannot retrieve them (eg, design specific considerations).
277+
3. YOU MUST PRIORITIZE your own knowledge and ONLY ask the user if you lack the answer when multiple options are suitable and require human consideration.
278+
274279
Parameters:
275280
- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need.
276281
- follow_up: (required) A list of 2-4 suggested answers that logically follow from the question, ordered by priority or logical sequence. Each suggestion must:

src/core/prompts/__tests__/__snapshots__/add-custom-instructions/ask-mode-prompt.snap

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,11 @@ Examples:
168168

169169
## ask_followup_question
170170
Description: Ask the user a question to gather additional information needed to complete the task. This tool should be used when you encounter ambiguities, need clarification, or require more details to proceed effectively. It allows for interactive problem-solving by enabling direct communication with the user. Use this tool judiciously to maintain a balance between gathering necessary information and avoiding excessive back-and-forth.
171+
IMPORTANT: Before asking the user for information:
172+
1. YOU MUST FIRST use available tools (eg, search_files, list_files, ...) to locate any needed information
173+
2. YOU MUST ONLY request user-provided details when those tools cannot retrieve them (eg, design specific considerations).
174+
3. YOU MUST PRIORITIZE your own knowledge and ONLY ask the user if you lack the answer when multiple options are suitable and require human consideration.
175+
171176
Parameters:
172177
- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need.
173178
- follow_up: (required) A list of 2-4 suggested answers that logically follow from the question, ordered by priority or logical sequence. Each suggestion must:

src/core/prompts/__tests__/__snapshots__/add-custom-instructions/mcp-server-creation-disabled.snap

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,11 @@ Example: Requesting to access an MCP resource
342342

343343
## ask_followup_question
344344
Description: Ask the user a question to gather additional information needed to complete the task. This tool should be used when you encounter ambiguities, need clarification, or require more details to proceed effectively. It allows for interactive problem-solving by enabling direct communication with the user. Use this tool judiciously to maintain a balance between gathering necessary information and avoiding excessive back-and-forth.
345+
IMPORTANT: Before asking the user for information:
346+
1. YOU MUST FIRST use available tools (eg, search_files, list_files, ...) to locate any needed information
347+
2. YOU MUST ONLY request user-provided details when those tools cannot retrieve them (eg, design specific considerations).
348+
3. YOU MUST PRIORITIZE your own knowledge and ONLY ask the user if you lack the answer when multiple options are suitable and require human consideration.
349+
345350
Parameters:
346351
- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need.
347352
- follow_up: (required) A list of 2-4 suggested answers that logically follow from the question, ordered by priority or logical sequence. Each suggestion must:

src/core/prompts/__tests__/__snapshots__/add-custom-instructions/mcp-server-creation-enabled.snap

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,11 @@ Example: Requesting to access an MCP resource
342342

343343
## ask_followup_question
344344
Description: Ask the user a question to gather additional information needed to complete the task. This tool should be used when you encounter ambiguities, need clarification, or require more details to proceed effectively. It allows for interactive problem-solving by enabling direct communication with the user. Use this tool judiciously to maintain a balance between gathering necessary information and avoiding excessive back-and-forth.
345+
IMPORTANT: Before asking the user for information:
346+
1. YOU MUST FIRST use available tools (eg, search_files, list_files, ...) to locate any needed information
347+
2. YOU MUST ONLY request user-provided details when those tools cannot retrieve them (eg, design specific considerations).
348+
3. YOU MUST PRIORITIZE your own knowledge and ONLY ask the user if you lack the answer when multiple options are suitable and require human consideration.
349+
345350
Parameters:
346351
- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need.
347352
- follow_up: (required) A list of 2-4 suggested answers that logically follow from the question, ordered by priority or logical sequence. Each suggestion must:

src/core/prompts/__tests__/__snapshots__/add-custom-instructions/partial-reads-enabled.snap

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,11 @@ Example: Requesting to execute ls in a specific directory if directed
298298

299299
## ask_followup_question
300300
Description: Ask the user a question to gather additional information needed to complete the task. This tool should be used when you encounter ambiguities, need clarification, or require more details to proceed effectively. It allows for interactive problem-solving by enabling direct communication with the user. Use this tool judiciously to maintain a balance between gathering necessary information and avoiding excessive back-and-forth.
301+
IMPORTANT: Before asking the user for information:
302+
1. YOU MUST FIRST use available tools (eg, search_files, list_files, ...) to locate any needed information
303+
2. YOU MUST ONLY request user-provided details when those tools cannot retrieve them (eg, design specific considerations).
304+
3. YOU MUST PRIORITIZE your own knowledge and ONLY ask the user if you lack the answer when multiple options are suitable and require human consideration.
305+
301306
Parameters:
302307
- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need.
303308
- follow_up: (required) A list of 2-4 suggested answers that logically follow from the question, ordered by priority or logical sequence. Each suggestion must:

0 commit comments

Comments
 (0)