(fastMode = false)
| 174 | } |
| 175 | |
| 176 | export function getOpus46Option(fastMode = false): ModelOption { |
| 177 | // Always use the canonical 4.6 model string (not the 'opus' alias, which |
| 178 | // resolves via getDefaultOpusModel() to opus47 on firstParty). Users |
| 179 | // selecting "Opus 4.6" must get 4.6 actually dispatched, not alias-routed |
| 180 | // to 4.7. The same string is correct for 3P (getModelStrings maps per |
| 181 | // provider). |
| 182 | return { |
| 183 | value: getModelStrings().opus46, |
| 184 | label: 'Opus 4.6', |
| 185 | description: `Opus 4.6 · Previous generation Opus${getOpusPricingSuffix(fastMode)}`, |
| 186 | descriptionForModel: 'Opus 4.6 - previous generation Opus model', |
| 187 | } |
| 188 | } |
| 189 | |
| 190 | export function getSonnet46_1MOption(): ModelOption { |
| 191 | const is3P = getAPIProvider() !== 'firstParty' |
no test coverage detected