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

Function googleDescription

packages/core/src/describe.ts:237–256  ·  view source on GitHub ↗
({ target, fast, frontier, multimodal }: SpecialDescriptionContext)

Source from the content-addressed store, hash-verified

235}
236
237function googleDescription({ target, fast, frontier, multimodal }: SpecialDescriptionContext) {
238 if (has(target, /\bgemma\b/)) {
239 return "Open Gemma instruction model for efficient chat and self-hosted deployments";
240 }
241 if (has(target, /\bflash[-\s]?lite\b/)) {
242 return "Low-latency Gemini model for high-volume multimodal and agent workloads";
243 }
244 if (has(target, /\bflash\b/)) {
245 return "Fast Gemini model balancing multimodal reasoning, tool use, and cost";
246 }
247 if (has(target, /\bpro\b/) || frontier) {
248 return "Advanced Gemini model for complex reasoning, coding, and multimodal analysis";
249 }
250 if (multimodal) {
251 return "Gemini multimodal model for text, image, audio, video, and document tasks";
252 }
253 return fast
254 ? "Efficient Gemini model for quick assistance and high-volume automation"
255 : "Gemini model for general assistance, reasoning, and multimodal workflows";
256}
257
258function mistralDescription({ target, fast, frontier }: SpecialDescriptionContext) {
259 if (has(target, /\bcodestral\b/)) {

Callers 1

specialDescriptionFunction · 0.85

Calls 1

hasFunction · 0.85

Tested by

no test coverage detected