Skip to content

Commit b5e18c6

Browse files
committed
Remove unrelated changes
1 parent cdc8452 commit b5e18c6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/types/src/providers/openrouter.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const OPEN_ROUTER_PROMPT_CACHING_MODELS = new Set([
3838
"anthropic/claude-3.7-sonnet:beta",
3939
"anthropic/claude-3.7-sonnet:thinking",
4040
"anthropic/claude-sonnet-4",
41-
"anthropic/claude-4.5-sonnet",
41+
"anthropic/claude-sonnet-4.5",
4242
"anthropic/claude-opus-4",
4343
"anthropic/claude-opus-4.1",
4444
"google/gemini-2.5-flash-preview",
@@ -60,7 +60,7 @@ export const OPEN_ROUTER_COMPUTER_USE_MODELS = new Set([
6060
"anthropic/claude-3.7-sonnet:beta",
6161
"anthropic/claude-3.7-sonnet:thinking",
6262
"anthropic/claude-sonnet-4",
63-
"anthropic/claude-4.5-sonnet",
63+
"anthropic/claude-sonnet-4.5",
6464
"anthropic/claude-opus-4",
6565
"anthropic/claude-opus-4.1",
6666
])
@@ -83,7 +83,7 @@ export const OPEN_ROUTER_REASONING_BUDGET_MODELS = new Set([
8383
"anthropic/claude-opus-4",
8484
"anthropic/claude-opus-4.1",
8585
"anthropic/claude-sonnet-4",
86-
"anthropic/claude-4.5-sonnet",
86+
"anthropic/claude-sonnet-4.5",
8787
"google/gemini-2.5-pro-preview",
8888
"google/gemini-2.5-pro",
8989
"google/gemini-2.5-flash-preview-05-20",

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +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
37+
"anthropic/claude-sonnet-4.5", // Not yet available in OpenRouter API
3838
])
3939

4040
const ourCachingModels = Array.from(OPEN_ROUTER_PROMPT_CACHING_MODELS).filter(
@@ -53,7 +53,7 @@ describe("OpenRouter API", () => {
5353

5454
const excludedComputerUseModels = new Set([
5555
"anthropic/claude-opus-4.1", // Not yet available in OpenRouter API
56-
"anthropic/claude-4.5-sonnet", // Not yet available in OpenRouter API
56+
"anthropic/claude-sonnet-4.5", // Not yet available in OpenRouter API
5757
])
5858

5959
const expectedComputerUseModels = Array.from(OPEN_ROUTER_COMPUTER_USE_MODELS)
@@ -136,7 +136,7 @@ describe("OpenRouter API", () => {
136136
"google/gemini-2.5-flash-lite-preview-06-17",
137137
"google/gemini-2.5-pro",
138138
"anthropic/claude-opus-4.1", // Not yet available in OpenRouter API
139-
"anthropic/claude-4.5-sonnet", // Not yet available in OpenRouter API
139+
"anthropic/claude-sonnet-4.5", // Not yet available in OpenRouter API
140140
])
141141

142142
const expectedReasoningBudgetModels = Array.from(OPEN_ROUTER_REASONING_BUDGET_MODELS)

0 commit comments

Comments
 (0)