(model: Provider.Model)
| 653 | } |
| 654 | |
| 655 | function googleThinkingVariants(model: Provider.Model): Record<string, Record<string, any>> { |
| 656 | const id = model.api.id.toLowerCase() |
| 657 | if (id.includes("2.5")) { |
| 658 | return { |
| 659 | high: { thinkingConfig: { includeThoughts: true, thinkingBudget: 16000 } }, |
| 660 | max: { |
| 661 | thinkingConfig: { includeThoughts: true, thinkingBudget: googleThinkingBudgetMax(id) }, |
| 662 | }, |
| 663 | } |
| 664 | } |
| 665 | return Object.fromEntries( |
| 666 | googleThinkingLevelEfforts(id).map((effort) => [ |
| 667 | effort, |
| 668 | { thinkingConfig: { includeThoughts: true, thinkingLevel: effort } }, |
| 669 | ]), |
| 670 | ) |
| 671 | } |
| 672 | |
| 673 | export function variants(model: Provider.Model): Record<string, Record<string, any>> { |
| 674 | if (!model.capabilities.reasoning) return {} |
no test coverage detected