Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/models.dev
/ parseModels
Function
parseModels
packages/core/test/sync.test.ts:222–224 ·
view source on GitHub ↗
(raw)
Source
from the content-addressed store, hash-verified
220
return
[{ id:
"example-model"
}];
221
},
222
parseModels(raw) {
223
return
raw as { id: string }[];
224
},
225
translateModel(model) {
226
return
{
227
id: model.id,
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected