feat: add max reasoning tier for Sonnet 4.6 (#1257)

This commit is contained in:
Devansh Jain
2026-03-03 21:51:48 -08:00
committed by GitHub
parent a284a31f97
commit a44c16edc7
2 changed files with 15 additions and 0 deletions

View File

@@ -68,6 +68,19 @@
"parallel_tool_calls": true "parallel_tool_calls": true
} }
}, },
{
"id": "sonnet-4.6-xhigh",
"handle": "anthropic/claude-sonnet-4-6",
"label": "Sonnet 4.6",
"description": "Sonnet 4.6 (max reasoning)",
"updateArgs": {
"context_window": 200000,
"max_output_tokens": 128000,
"reasoning_effort": "xhigh",
"enable_reasoner": true,
"parallel_tool_calls": true
}
},
{ {
"id": "sonnet-4.5", "id": "sonnet-4.5",
"handle": "anthropic/claude-sonnet-4-5-20250929", "handle": "anthropic/claude-sonnet-4-5-20250929",

View File

@@ -95,12 +95,14 @@ describe("getReasoningTierOptionsForHandle", () => {
"low", "low",
"medium", "medium",
"high", "high",
"xhigh",
]); ]);
expect(options.map((option) => option.modelId)).toEqual([ expect(options.map((option) => option.modelId)).toEqual([
"sonnet-4.6-no-reasoning", "sonnet-4.6-no-reasoning",
"sonnet-4.6-low", "sonnet-4.6-low",
"sonnet-4.6-medium", "sonnet-4.6-medium",
"sonnet", "sonnet",
"sonnet-4.6-xhigh",
]); ]);
}); });