MCPcopy Create free account
hub / github.com/anomalyco/models.dev / parseModels

Function parseModels

packages/core/src/sync/providers/google.ts:76–78  ·  view source on GitHub ↗
(raw)

Source from the content-addressed store, hash-verified

74 return { models };
75 },
76 parseModels(raw) {
77 return GoogleResponse.parse(raw).models ?? [];
78 },
79 translateModel(model, context) {
80 const id = model.name.replace(/^models\//, "");
81 const existing = context.existing(id);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected