Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/claude-code-best/claude-code
/ getMaxThinkingTokensForModel
Function
getMaxThinkingTokensForModel
src/utils/context.ts:233–235 ·
view source on GitHub ↗
(model: string)
Source
from the content-addressed store, hash-verified
231
* strict thinking token budget.
232
*/
233
export
function
getMaxThinkingTokensForModel(model: string): number {
234
return
getModelMaxOutputTokens(model).upperLimit - 1
235
}
Callers
1
paramsFromContext
Function · 0.85
Calls
1
getModelMaxOutputTokens
Function · 0.85
Tested by
no test coverage detected