MCPcopy
hub / github.com/anomalyco/models.dev / modelHref

Function modelHref

packages/web/src/render.tsx:1650–1652  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

1648}
1649
1650function modelHref(id: string) {
1651 return `/models/${encodedPath(id)}`;
1652}
1653
1654function providerHref(id: string) {
1655 return `/providers/${encodeURIComponent(id)}`;

Callers 4

buildSearchItemsFunction · 0.85
buildPagesFunction · 0.85
ModelTableFunction · 0.85
ProviderModelsTableFunction · 0.85

Calls 1

encodedPathFunction · 0.85

Tested by

no test coverage detected