feat(providers): add Claude Sonnet 5

This commit is contained in:
Mohamed Boudra
2026-07-01 19:47:27 +02:00
parent e32c50f2d7
commit ab7543ae1d
4 changed files with 34 additions and 12 deletions
+6 -1
View File
@@ -60,6 +60,11 @@ const EXPECTED_CLAUDE_MODELS = [
model: "Opus 4.8",
descriptionFragment: "Latest release",
},
{
id: "claude-sonnet-5",
model: "Sonnet 5",
descriptionFragment: "Efficient for routine tasks",
},
{
id: "claude-opus-4-7[1m]",
model: "Opus 4.7 1M",
@@ -392,7 +397,7 @@ try {
"--quiet should print the current Claude catalog IDs",
);
assert(
claudeModelsFromJson.some((m) => m.id === "claude-sonnet-4-6"),
claudeModelsFromJson.some((m) => m.id === "claude-sonnet-5"),
"captured --json output should include the current Claude everyday model id",
);
console.log("✓ provider models --quiet outputs model IDs only\n");