(apiId: string)
| 614 | } |
| 615 | |
| 616 | function anthropicAdaptiveEfforts(apiId: string): string[] | null { |
| 617 | if (anthropicOpus47OrLater(apiId) || anthropicSonnet5OrLater(apiId) || apiId.includes("fable-5")) { |
| 618 | return ["low", "medium", "high", "xhigh", "max"] |
| 619 | } |
| 620 | if ( |
| 621 | ["opus-4-6", "opus-4.6", "4-6-opus", "4.6-opus", "sonnet-4-6", "sonnet-4.6", "4-6-sonnet", "4.6-sonnet"].some((v) => |
| 622 | apiId.includes(v), |
| 623 | ) |
| 624 | ) { |
| 625 | return ["low", "medium", "high", "max"] |
| 626 | } |
| 627 | return null |
| 628 | } |
| 629 | |
| 630 | function anthropicOmitsThinking(apiId: string) { |
| 631 | return anthropicOpus47OrLater(apiId) || anthropicSonnet5OrLater(apiId) || apiId.includes("fable-5") |
no test coverage detected