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

Function isOpus1mUnavailable

src/commands/model/model.tsx:236–239  ·  view source on GitHub ↗
(model: string)

Source from the content-addressed store, hash-verified

234 return (MODEL_ALIASES as readonly string[]).includes(model.toLowerCase().trim());
235}
236function isOpus1mUnavailable(model: string): boolean {
237 const m = model.toLowerCase();
238 return !checkOpus1mAccess() && !isOpus1mMergeEnabled() && m.includes('opus') && m.includes('[1m]');
239}
240function isSonnet1mUnavailable(model: string): boolean {
241 const m = model.toLowerCase();
242 // Warn about Sonnet and Sonnet 4.6, but not Sonnet 4.5 since that had

Callers 1

handleModelChangeFunction · 0.85

Calls 2

checkOpus1mAccessFunction · 0.85
isOpus1mMergeEnabledFunction · 0.85

Tested by

no test coverage detected