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

Function getClaudeAiUserDefaultModelDescription

src/utils/model/model.ts:286–296  ·  view source on GitHub ↗
(
  fastMode = false,
)

Source from the content-addressed store, hash-verified

284
285// @[MODEL LAUNCH]: Update the default model description strings shown to users.
286export function getClaudeAiUserDefaultModelDescription(
287 fastMode = false,
288): string {
289 if (isMaxSubscriber() || isTeamPremiumSubscriber()) {
290 if (isOpus1mMergeEnabled()) {
291 return `Opus 4.6 with 1M context · Most capable for complex work${fastMode ? getOpus46PricingSuffix(true) : ''}`
292 }
293 return `Opus 4.6 · Most capable for complex work${fastMode ? getOpus46PricingSuffix(true) : ''}`
294 }
295 return 'Sonnet 4.6 · Best for everyday tasks'
296}
297
298export function renderDefaultModelSetting(
299 setting: ModelName | ModelAlias,

Callers 3

getModelDisplayLabelFunction · 0.85
getDefaultOptionForUserFunction · 0.85
modelDisplayStringFunction · 0.85

Calls 4

isMaxSubscriberFunction · 0.85
isTeamPremiumSubscriberFunction · 0.85
isOpus1mMergeEnabledFunction · 0.85
getOpus46PricingSuffixFunction · 0.85

Tested by

no test coverage detected