Skip to content

Commit ca968a1

Browse files
committed
test(openrouter): exclude anthropic/claude-4.5-sonnet until OpenRouter lists it
1 parent 02142b9 commit ca968a1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/api/providers/fetchers/__tests__/openrouter.spec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ describe("OpenRouter API", () => {
3434
"google/gemini-2.5-flash", // OpenRouter doesn't report this as supporting prompt caching
3535
"google/gemini-2.5-flash-lite-preview-06-17", // OpenRouter doesn't report this as supporting prompt caching
3636
"anthropic/claude-opus-4.1", // Not yet available in OpenRouter API
37+
"anthropic/claude-4.5-sonnet", // Not yet available in OpenRouter API
3738
])
3839

3940
const ourCachingModels = Array.from(OPEN_ROUTER_PROMPT_CACHING_MODELS).filter(
@@ -52,6 +53,7 @@ describe("OpenRouter API", () => {
5253

5354
const excludedComputerUseModels = new Set([
5455
"anthropic/claude-opus-4.1", // Not yet available in OpenRouter API
56+
"anthropic/claude-4.5-sonnet", // Not yet available in OpenRouter API
5557
])
5658

5759
const expectedComputerUseModels = Array.from(OPEN_ROUTER_COMPUTER_USE_MODELS)
@@ -134,6 +136,7 @@ describe("OpenRouter API", () => {
134136
"google/gemini-2.5-flash-lite-preview-06-17",
135137
"google/gemini-2.5-pro",
136138
"anthropic/claude-opus-4.1", // Not yet available in OpenRouter API
139+
"anthropic/claude-4.5-sonnet", // Not yet available in OpenRouter API
137140
])
138141

139142
const expectedReasoningBudgetModels = Array.from(OPEN_ROUTER_REASONING_BUDGET_MODELS)

0 commit comments

Comments
 (0)