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

Function anthropicDescription

packages/core/src/describe.ts:219–235  ·  view source on GitHub ↗
({ target, fast }: SpecialDescriptionContext)

Source from the content-addressed store, hash-verified

217}
218
219function anthropicDescription({ target, fast }: SpecialDescriptionContext) {
220 if (has(target, /\bopus\b/)) {
221 return "Flagship Claude model for deep reasoning, coding, and long-horizon agents";
222 }
223 if (has(target, /\bsonnet\b/)) {
224 return "Balanced Claude model for coding, analysis, agent workflows, and cost control";
225 }
226 if (has(target, /\bhaiku\b/)) {
227 return "Fast Claude model for responsive assistance, classification, and lightweight agents";
228 }
229 if (has(target, /\bfable\b/)) {
230 return "Claude model for creative writing, analysis, and controlled agent workflows";
231 }
232 return fast
233 ? "Efficient Claude model for quick analysis, writing, and tool use"
234 : "Claude model for careful reasoning, writing, coding, and tool use";
235}
236
237function googleDescription({ target, fast, frontier, multimodal }: SpecialDescriptionContext) {
238 if (has(target, /\bgemma\b/)) {

Callers 1

specialDescriptionFunction · 0.85

Calls 1

hasFunction · 0.85

Tested by

no test coverage detected