Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CommonstackAI/UncommonRoute
/ shortModel
Function
shortModel
frontend/dashboard/src/components/Explainer.tsx:434–436 ·
view source on GitHub ↗
(model?: string)
Source
from the content-addressed store, hash-verified
432
}
433
434
function shortModel(model?: string) {
435
return (model ||
""
).split(
"/"
).pop() || model ||
"—"
;
436
}
437
438
function prettyTransport(transport?: string) {
439
switch (transport) {
Callers
2
Explainer
Function · 0.70
AttemptRow
Function · 0.70
Calls
1
pop
Method · 0.80
Tested by
no test coverage detected