Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions packages/core/src/prompts/promptProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,8 @@ export class PromptProvider {
CodebaseInvestigatorAgent.name,
),
enableWriteTodosTool: enabledToolNames.has(WRITE_TODOS_TOOL_NAME),
enableEnterPlanModeTool: enabledToolNames.has(
ENTER_PLAN_MODE_TOOL_NAME,
),
enableEnterPlanModeTool:
enabledToolNames.has(ENTER_PLAN_MODE_TOOL_NAME) && !isYoloMode,
Comment on lines +163 to +164
Copy link
Contributor

@jerop jerop Feb 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

enter_plan_mode tool is not available in YOLO mode so this is redundant - #19570

enableGrep: enabledToolNames.has(GREP_TOOL_NAME),
enableGlob: enabledToolNames.has(GLOB_TOOL_NAME),
approvedPlan: approvedPlanPath
Expand Down Expand Up @@ -192,7 +191,7 @@ export class PromptProvider {
interactiveYoloMode: this.withSection(
'interactiveYoloMode',
() => true,
isYoloMode && interactiveMode,
isYoloMode,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was very much intentional because it's used to define interactiveYoloMode

cc @jackwotherspoon

),
gitRepo: this.withSection(
'git',
Expand Down