Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Noumena-Network/code
/ getMaxThinkingTokensForModel
Function
getMaxThinkingTokensForModel
src/utils/context.ts:241–243 ·
view source on GitHub ↗
(model: string)
Source
from the content-addressed store, hash-verified
239
* strict thinking token budget.
240
*/
241
export
function
getMaxThinkingTokensForModel(model: string): number {
242
return
getModelMaxOutputTokens(model).upperLimit - 1
243
}
Callers
1
paramsFromContext
Function · 0.85
Calls
1
getModelMaxOutputTokens
Function · 0.85
Tested by
no test coverage detected