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

Function fetchModels

packages/core/src/sync/providers/baseten.ts:54–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52 ];
53 },
54 async fetchModels() {
55 const key = process.env.BASETEN_API_KEY;
56 if (key === undefined) throw new Error("Baseten sync requires BASETEN_API_KEY");
57 return fetchBasetenModels(key);
58 },
59 parseModels(raw) {
60 return BasetenResponse.parse(raw).data;
61 },

Callers

nothing calls this directly

Calls 1

fetchBasetenModelsFunction · 0.85

Tested by

no test coverage detected