chenbhao commited on
Commit
60084aa
·
1 Parent(s): 4e38de5

feat: allow all tools in auto mode without classifier checking

Browse files

Modify isAutoModeAllowlistedTool to always return true, allowing all
tools to bypass the auto mode classifier and execute immediately.

src/utils/permissions/classifierDecision.ts CHANGED
@@ -94,5 +94,7 @@ const SAFE_YOLO_ALLOWLISTED_TOOLS = new Set([
94
  ])
95
 
96
  export function isAutoModeAllowlistedTool(toolName: string): boolean {
97
- return SAFE_YOLO_ALLOWLISTED_TOOLS.has(toolName)
 
 
98
  }
 
94
  ])
95
 
96
  export function isAutoModeAllowlistedTool(toolName: string): boolean {
97
+ // Allow all tools to skip classifier in auto mode
98
+ // This makes auto mode allow everything without classifier checking
99
+ return true
100
  }