MCPcopy Create free account
hub / github.com/freecodexyz/free-code / getSonnet46Option

Function getSonnet46Option

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

Source from the content-addressed store, hash-verified

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