MCPcopy Create free account
hub / github.com/codeaashu/claude-code / isKnownAlias

Function isKnownAlias

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

Source from the content-addressed store, hash-verified

231 return null;
232}
233function isKnownAlias(model: string): boolean {
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]');

Callers 1

handleModelChangeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected