({ target, fast, frontier, multimodal }: SpecialDescriptionContext)
| 235 | } |
| 236 | |
| 237 | function 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 | |
| 258 | function mistralDescription({ target, fast, frontier }: SpecialDescriptionContext) { |
| 259 | if (has(target, /\bcodestral\b/)) { |
no test coverage detected