MCPcopy
hub / github.com/anomalyco/models.dev / ExistingModel

Interface ExistingModel

packages/core/script/generate-friendli.ts:108–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108interface ExistingModel {
109 name?: string;
110 family?: string;
111 attachment?: boolean;
112 reasoning?: boolean;
113 tool_call?: boolean;
114 structured_output?: boolean;
115 temperature?: boolean;
116 knowledge?: string;
117 release_date?: string;
118 last_updated?: string;
119 open_weights?: boolean;
120 interleaved?: boolean | { field: string };
121 status?: string;
122 cost?: {
123 input?: number;
124 output?: number;
125 reasoning?: number;
126 cache_read?: number;
127 cache_write?: number;
128 };
129 limit?: {
130 context?: number;
131 input?: number;
132 output?: number;
133 };
134 modalities?: {
135 input?: string[];
136 output?: string[];
137 };
138 provider?: {
139 npm?: string;
140 api?: string;
141 };
142}
143
144async function loadExistingModel(
145 filePath: string,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected