MCPcopy
hub / github.com/coder/mux / ModelSelector.tsx

File ModelSelector.tsx

src/browser/components/ModelSelector/ModelSelector.tsx:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * ModelSelector - Dropdown for selecting AI models
3 *
4 * Uses conditional rendering (not Radix Portal) to enable testing in happy-dom.

Callers

nothing calls this directly

Calls 15

useSettingsFunction · 0.90
usePolicyFunction · 0.90
useRoutingFunction · 0.90
useProvidersConfigFunction · 0.90
getModelNameFunction · 0.90
cnFunction · 0.90
getExplicitGatewayPrefixFunction · 0.90
normalizeToCanonicalFunction · 0.90
getModelProviderFunction · 0.90
formatModelDisplayNameFunction · 0.90

Tested by

no test coverage detected