Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
*/
221
export
function
getMaxThinkingTokensForModel(model: string): number {
222
return
getModelMaxOutputTokens(model).upperLimit - 1
223
}
Callers
1
paramsFromContext
Function · 0.85
Calls
1
getModelMaxOutputTokens
Function · 0.85
Tested by
no test coverage detected