({ target, fast }: SpecialDescriptionContext)
| 217 | } |
| 218 | |
| 219 | function 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 | |
| 237 | function googleDescription({ target, fast, frontier, multimodal }: SpecialDescriptionContext) { |
| 238 | if (has(target, /\bgemma\b/)) { |
no test coverage detected