Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
useSettings
Function · 0.90
usePolicy
Function · 0.90
useRouting
Function · 0.90
useProvidersConfig
Function · 0.90
getModelName
Function · 0.90
cn
Function · 0.90
getExplicitGatewayPrefix
Function · 0.90
normalizeToCanonical
Function · 0.90
getModelProvider
Function · 0.90
formatModelStringForDisplay
Function · 0.90
formatProviderDisplayName
Function · 0.90
formatModelDisplayName
Function · 0.90
Tested by
no test coverage detected