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

Function getClaudeAiUserDefaultModelDescription

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

Source from the content-addressed store, hash-verified

301
302// @[MODEL LAUNCH]: Update the default model description strings shown to users.
303export function getClaudeAiUserDefaultModelDescription(
304 fastMode = false,
305): string {
306 if (isCodexSubscriber()) {
307 return 'GPT-5.3 Codex · Optimized for code generation and understanding'
308 }
309 if (isMaxSubscriber() || isTeamPremiumSubscriber()) {
310 if (isOpus1mMergeEnabled()) {
311 return `Opus 4.6 with 1M context · Most capable for complex work${fastMode ? getOpus46PricingSuffix(true) : ''}`
312 }
313 return `Opus 4.6 · Most capable for complex work${fastMode ? getOpus46PricingSuffix(true) : ''}`
314 }
315 return 'Sonnet 4.6 · Best for everyday tasks'
316}
317
318export function renderDefaultModelSetting(
319 setting: ModelName | ModelAlias,

Callers 3

getModelDisplayLabelFunction · 0.85
getDefaultOptionForUserFunction · 0.85
modelDisplayStringFunction · 0.85

Calls 5

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

Tested by

no test coverage detected