MCPcopy Create free account
hub / github.com/winfunc/opcode / getModelDisplayName

Function getModelDisplayName

src/components/UsageDashboard.original.tsx:107–115  ·  view source on GitHub ↗
(model: string)

Source from the content-addressed store, hash-verified

105 };
106
107 const getModelDisplayName = (model: string): string => {
108 const modelMap: Record<string, string> = {
109 "claude-4-opus": "Opus 4",
110 "claude-4-sonnet": "Sonnet 4",
111 "claude-3.5-sonnet": "Sonnet 3.5",
112 "claude-3-opus": "Opus 3",
113 };
114 return modelMap[model] || model;
115 };
116
117 // Helper for model color (unused in this original version)
118

Callers 2

UsageDashboardFunction · 0.85
UsageDashboardFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected