MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / shouldUseReasoningBudget

Function shouldUseReasoningBudget

src/shared/api.ts:44–50  ·  view source on GitHub ↗
({
	model,
	settings,
}: {
	model: ModelInfo
	settings?: ProviderSettings
})

Source from the content-addressed store, hash-verified

42// Reasoning
43
44export const shouldUseReasoningBudget = ({
45 model,
46 settings,
47}: {
48 model: ModelInfo
49 settings?: ProviderSettings
50}): boolean => !!model.requiredReasoningBudget || (!!model.supportsReasoningBudget && !!settings?.enableReasoningEffort)
51
52export const shouldUseReasoningEffort = ({
53 model,

Callers 9

api.spec.tsFile · 0.90
createMessageMethod · 0.90
completePromptMethod · 0.90
createMessageMethod · 0.90
getOpenRouterReasoningFunction · 0.90
getAnthropicReasoningFunction · 0.90
getGeminiReasoningFunction · 0.90
getModelParamsFunction · 0.90
getModelMaxOutputTokensFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected