MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getTwoStageMode

Function getTwoStageMode

src/utils/permissions/yoloClassifier.ts:1477–1480  ·  view source on GitHub ↗

* Get which stage(s) the XML classifier should run. * Only meaningful when isTwoStageClassifierEnabled() is true.

()

Source from the content-addressed store, hash-verified

1475 * Only meaningful when isTwoStageClassifierEnabled() is true.
1476 */
1477function getTwoStageMode(): TwoStageMode {
1478 const v = resolveTwoStageClassifier()
1479 return v === 'fast' || v === 'thinking' ? v : 'both'
1480}
1481
1482/**
1483 * Format an action for the classifier from tool name and input.

Callers 1

classifyYoloActionFunction · 0.85

Calls 1

Tested by

no test coverage detected