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

Function getAnthropicReasoning

src/api/transform/reasoning.ts:108–113  ·  view source on GitHub ↗
({
	model,
	reasoningBudget,
	settings,
}: GetModelReasoningOptions)

Source from the content-addressed store, hash-verified

106}
107
108export const getAnthropicReasoning = ({
109 model,
110 reasoningBudget,
111 settings,
112}: GetModelReasoningOptions): AnthropicReasoningParams | undefined =>
113 shouldUseReasoningBudget({ model, settings }) ? { type: "enabled", budget_tokens: reasoningBudget! } : undefined
114
115export const getAnthropicProviderReasoning = ({
116 model,

Callers 3

getModelParamsFunction · 0.90
reasoning.spec.tsFile · 0.90

Calls 1

shouldUseReasoningBudgetFunction · 0.90

Tested by

no test coverage detected