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

Function getMaxThinkingTokensForModel

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

Source from the content-addressed store, hash-verified

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

Callers 1

paramsFromContextFunction · 0.85

Calls 1

getModelMaxOutputTokensFunction · 0.85

Tested by

no test coverage detected