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

Interface DescriptionInput

packages/core/src/describe.ts:3–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1type Modality = "text" | "audio" | "image" | "video" | "pdf";
2
3export interface DescriptionInput {
4 id?: string;
5 providerId?: string;
6 name?: string;
7 family?: string;
8 reasoning?: boolean;
9 tool_call?: boolean;
10 structured_output?: boolean;
11 open_weights?: boolean;
12 status?: "alpha" | "beta" | "deprecated";
13 limit?: {
14 context?: number;
15 input?: number;
16 output?: number;
17 };
18 modalities?: {
19 input?: Modality[];
20 output?: Modality[];
21 };
22}
23
24export function describeModel(model: DescriptionInput) {
25 const id = model.id ?? "";

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected