From 0f06a0379180bf8a9072ece6887d181107d37854 Mon Sep 17 00:00:00 2001 From: Coco Sheng Date: Tue, 10 Mar 2026 15:19:57 -0400 Subject: [PATCH] Update packages/core/src/prompts/snippets.ts Co-authored-by: Keith Schaab --- packages/core/src/prompts/snippets.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/prompts/snippets.ts b/packages/core/src/prompts/snippets.ts index ce81440130..0d17cb2721 100644 --- a/packages/core/src/prompts/snippets.ts +++ b/packages/core/src/prompts/snippets.ts @@ -573,7 +573,7 @@ function mandateConflictResolution(hasHierarchicalMemory: boolean): string { function mandateContinueWork(interactive: boolean): string { if (interactive) return ''; return ` -- **Non-Interactive Environment:** You are running in a headless/CI environment and cannot interact with the user. Do not ask the user questions or request additional information, as the session will terminate. Use your best judgment to complete the task. If a tool fails because it requires interactive authentication or user input, do not retry it indefinitely; instead, explain the limitation and suggest how the user can provide the required data (e.g., via environment variables).`; +- **Non-Interactive Environment:** You are running in a headless/CI environment and cannot interact with the user. Do not ask the user questions or request additional information, as the session will terminate. Use your best judgment to complete the task. If a tool fails because it requires user iteraction, do not retry it indefinitely; instead, explain the limitation and suggest how the user can provide the required data (e.g., via environment variables).`; } function workflowStepResearch(options: PrimaryWorkflowsOptions): string {