MCPcopy Index your code
hub / github.com/anomalyco/opencode / googleThinkingBudgetMax

Function googleThinkingBudgetMax

packages/opencode/src/provider/transform.ts:643–647  ·  view source on GitHub ↗
(apiId: string)

Source from the content-addressed store, hash-verified

641}
642
643function googleThinkingBudgetMax(apiId: string) {
644 const id = apiId.toLowerCase()
645 if (id.includes("2.5") && id.includes("pro") && !id.includes("flash")) return 32_768
646 return 24_576
647}
648
649// SAP's Zod schema drops unknown top-level keys; reasoning controls survive
650// only via `modelParams` (catchall), forwarded verbatim by the SAP SDKs.

Callers 2

googleThinkingVariantsFunction · 0.85
variantsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected