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

Function baseModel

packages/core/test/schema.test.ts:34–59  ·  view source on GitHub ↗
(overrides: Partial<AuthoredModelData>)

Source from the content-addressed store, hash-verified

32});
33
34function baseModel(overrides: Partial<AuthoredModelData>) {
35 return {
36 id: "example/model",
37 name: "Example Model",
38 description: "Example model for schema validation and regression tests",
39 attachment: false,
40 reasoning: false,
41 tool_call: true,
42 release_date: "2026-01-01",
43 last_updated: "2026-01-01",
44 modalities: {
45 input: ["text"],
46 output: ["text"],
47 },
48 open_weights: false,
49 limit: {
50 context: 1_000,
51 output: 100,
52 },
53 cost: {
54 input: 1,
55 output: 2,
56 },
57 ...overrides,
58 };
59}

Callers 1

schema.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected