MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getMaxThinkingTokensForModel

Function getMaxThinkingTokensForModel

source code/utils/context.ts:221–223  ·  view source on GitHub ↗
(model: string)

Source from the content-addressed store, hash-verified

219 * strict thinking token budget.
220 */
221export function getMaxThinkingTokensForModel(model: string): number {
222 return getModelMaxOutputTokens(model).upperLimit - 1
223}

Callers 1

paramsFromContextFunction · 0.85

Calls 1

getModelMaxOutputTokensFunction · 0.85

Tested by

no test coverage detected