MCPcopy
hub / github.com/codeaashu/claude-code / getSonnet46Option

Function getSonnet46Option

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

Source from the content-addressed store, hash-verified

94// @[MODEL LAUNCH]: Update or add model option functions (getSonnetXXOption, getOpusXXOption, etc.)
95// with the new model's label and description. These appear in the /model picker.
96function getSonnet46Option(): ModelOption {
97 const is3P = getAPIProvider() !== 'firstParty'
98 return {
99 value: is3P ? getModelStrings().sonnet46 : 'sonnet',
100 label: 'Sonnet',
101 description: `Sonnet 4.6 · Best for everyday tasks${is3P ? '' : ` · ${formatModelPricing(COST_TIER_3_15)}`}`,
102 descriptionForModel:
103 'Sonnet 4.6 - best for everyday tasks. Generally recommended for most coding tasks',
104 }
105}
106
107function getCustomOpusOption(): ModelOption | undefined {
108 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