MCPcopy Create free account
hub / github.com/oboard/claude-code-rev / onSetMaxThinkingTokens

Function onSetMaxThinkingTokens

src/cli/print.ts:3951–3962  ·  view source on GitHub ↗
(maxTokens)

Source from the content-addressed store, hash-verified

3949 setMainLoopModelOverride(resolved)
3950 },
3951 onSetMaxThinkingTokens(maxTokens) {
3952 if (maxTokens === null) {
3953 options.thinkingConfig = undefined
3954 } else if (maxTokens === 0) {
3955 options.thinkingConfig = { type: 'disabled' }
3956 } else {
3957 options.thinkingConfig = {
3958 type: 'enabled',
3959 budgetTokens: maxTokens,
3960 }
3961 }
3962 },
3963 onStateChange(state, detail) {
3964 if (state === 'failed') {
3965 bridgeFailureDetail = detail

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected