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

Function getOpus46_1MOption

src/utils/model/modelOptions.ts:154–163  ·  view source on GitHub ↗
(fastMode = false)

Source from the content-addressed store, hash-verified

152}
153
154export function getOpus46_1MOption(fastMode = false): ModelOption {
155 const is3P = getAPIProvider() !== 'firstParty'
156 return {
157 value: is3P ? getModelStrings().opus46 + '[1m]' : 'opus[1m]',
158 label: 'Opus (1M context)',
159 description: `Opus 4.6 for long sessions${getOpus46PricingSuffix(fastMode)}`,
160 descriptionForModel:
161 'Opus 4.6 with 1M context window - for long sessions with large codebases',
162 }
163}
164
165function getCustomHaikuOption(): ModelOption | undefined {
166 const is3P = getAPIProvider() !== 'firstParty'

Callers 1

getModelOptionsBaseFunction · 0.85

Calls 3

getAPIProviderFunction · 0.85
getOpus46PricingSuffixFunction · 0.85
getModelStringsFunction · 0.70

Tested by

no test coverage detected