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 {