(maxTokens)
| 404 | }); |
| 405 | }, |
| 406 | onSetMaxThinkingTokens(maxTokens) { |
| 407 | const enabled = maxTokens !== null; |
| 408 | setAppState(prev_11 => { |
| 409 | if (prev_11.thinkingEnabled === enabled) return prev_11; |
| 410 | return { |
| 411 | ...prev_11, |
| 412 | thinkingEnabled: enabled |
| 413 | }; |
| 414 | }); |
| 415 | }, |
| 416 | onSetPermissionMode(mode) { |
| 417 | // Policy guards MUST fire before transitionPermissionMode — |
| 418 | // its internal auto-gate check is a defensive throw (with a |
nothing calls this directly
no outgoing calls
no test coverage detected