MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getSonnet46_1MOption

Function getSonnet46_1MOption

src/utils/model/modelOptions.ts:143–152  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

141}
142
143export function getSonnet46_1MOption(): ModelOption {
144 const is3P = getAPIProvider() !== 'firstParty'
145 return {
146 value: is3P ? getModelStrings().sonnet46 + '[1m]' : 'sonnet[1m]',
147 label: 'Sonnet (1M context)',
148 description: `Sonnet 4.6 for long sessions${is3P ? '' : ` · ${formatModelPricing(COST_TIER_3_15)}`}`,
149 descriptionForModel:
150 'Sonnet 4.6 with 1M context window - for long sessions with large codebases',
151 }
152}
153
154export function getOpus46_1MOption(fastMode = false): ModelOption {
155 const is3P = getAPIProvider() !== 'firstParty'

Callers 1

getModelOptionsBaseFunction · 0.85

Calls 3

getAPIProviderFunction · 0.85
formatModelPricingFunction · 0.85
getModelStringsFunction · 0.70

Tested by

no test coverage detected