MCPcopy Index your code
hub / github.com/anomalyco/models.dev / buildModelEntries

Function buildModelEntries

packages/web/src/render.tsx:180–195  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

178}
179
180function buildModelEntries() {
181 const entries = new Map<string, ModelEntry>();
182
183 for (const [id, metadata] of Object.entries(Models)) {
184 const labId = id.split("/")[0]!;
185 entries.set(id, {
186 id,
187 metadata,
188 labId,
189 labName: labName(labId),
190 providers: [],
191 });
192 }
193
194 return entries;
195}
196
197function buildProviderModelEntries(models: Map<string, ModelEntry>) {
198 const entries: ProviderModelEntry[] = [];

Callers 1

render.tsxFile · 0.85

Calls 1

labNameFunction · 0.85

Tested by

no test coverage detected