Skip to content

Commit 57f1090

Browse files
committed
tests: update snap files
1 parent 9849077 commit 57f1090

File tree

8 files changed

+40
-0
lines changed

8 files changed

+40
-0
lines changed

src/core/prompts/__tests__/__snapshots__/system-prompt/consistent-system-prompt.snap

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

294294
## ask_followup_question
295295
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.
296+
IMPORTANT: Before asking the user for information:
297+
1. YOU MUST FIRST use available tools (eg, search_files, list_files, ...) to locate any needed information
298+
2. YOU MUST ONLY request user-provided details when those tools cannot retrieve them (eg, design specific considerations).
299+
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.
300+
296301
Parameters:
297302
- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need.
298303
- 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__/system-prompt/with-computer-use-support.snap

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

347347
## ask_followup_question
348348
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.
349+
IMPORTANT: Before asking the user for information:
350+
1. YOU MUST FIRST use available tools (eg, search_files, list_files, ...) to locate any needed information
351+
2. YOU MUST ONLY request user-provided details when those tools cannot retrieve them (eg, design specific considerations).
352+
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.
353+
349354
Parameters:
350355
- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need.
351356
- 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__/system-prompt/with-diff-enabled-false.snap

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

294294
## ask_followup_question
295295
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.
296+
IMPORTANT: Before asking the user for information:
297+
1. YOU MUST FIRST use available tools (eg, search_files, list_files, ...) to locate any needed information
298+
2. YOU MUST ONLY request user-provided details when those tools cannot retrieve them (eg, design specific considerations).
299+
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.
300+
296301
Parameters:
297302
- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need.
298303
- 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__/system-prompt/with-diff-enabled-true.snap

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

382382
## ask_followup_question
383383
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.
384+
IMPORTANT: Before asking the user for information:
385+
1. YOU MUST FIRST use available tools (eg, search_files, list_files, ...) to locate any needed information
386+
2. YOU MUST ONLY request user-provided details when those tools cannot retrieve them (eg, design specific considerations).
387+
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.
388+
384389
Parameters:
385390
- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need.
386391
- 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__/system-prompt/with-diff-enabled-undefined.snap

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

294294
## ask_followup_question
295295
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.
296+
IMPORTANT: Before asking the user for information:
297+
1. YOU MUST FIRST use available tools (eg, search_files, list_files, ...) to locate any needed information
298+
2. YOU MUST ONLY request user-provided details when those tools cannot retrieve them (eg, design specific considerations).
299+
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.
300+
296301
Parameters:
297302
- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need.
298303
- 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__/system-prompt/with-different-viewport-size.snap

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

347347
## ask_followup_question
348348
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.
349+
IMPORTANT: Before asking the user for information:
350+
1. YOU MUST FIRST use available tools (eg, search_files, list_files, ...) to locate any needed information
351+
2. YOU MUST ONLY request user-provided details when those tools cannot retrieve them (eg, design specific considerations).
352+
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.
353+
349354
Parameters:
350355
- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need.
351356
- 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__/system-prompt/with-mcp-hub-provided.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__/system-prompt/with-undefined-mcp-hub.snap

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

294294
## ask_followup_question
295295
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.
296+
IMPORTANT: Before asking the user for information:
297+
1. YOU MUST FIRST use available tools (eg, search_files, list_files, ...) to locate any needed information
298+
2. YOU MUST ONLY request user-provided details when those tools cannot retrieve them (eg, design specific considerations).
299+
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.
300+
296301
Parameters:
297302
- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need.
298303
- 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)