Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/sweet-turtles-wink.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"roo-cline": patch
---

Fix OpenRouter names"
16 changes: 8 additions & 8 deletions src/shared/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1921,10 +1921,10 @@ export const PROMPT_CACHING_MODELS = new Set([
"anthropic/claude-3.7-sonnet",
"anthropic/claude-3.7-sonnet:beta",
"anthropic/claude-3.7-sonnet:thinking",
"anthropic/claude-sonnet-4-20250514",
"anthropic/claude-sonnet-4-20250514:thinking",
"anthropic/claude-opus-4-20250514",
"anthropic/claude-opus-4-20250514:thinking",
"anthropic/claude-sonnet-4",
"anthropic/claude-sonnet-4:thinking",
"anthropic/claude-opus-4",
"anthropic/claude-opus-4:thinking",
"google/gemini-2.5-pro-preview",
"google/gemini-2.5-flash-preview",
"google/gemini-2.5-flash-preview:thinking",
Expand All @@ -1942,10 +1942,10 @@ export const COMPUTER_USE_MODELS = new Set([
"anthropic/claude-3.7-sonnet",
"anthropic/claude-3.7-sonnet:beta",
"anthropic/claude-3.7-sonnet:thinking",
"anthropic/claude-sonnet-4-20250514",
"anthropic/claude-sonnet-4-20250514:thinking",
"anthropic/claude-opus-4-20250514",
"anthropic/claude-opus-4-20250514:thinking",
"anthropic/claude-sonnet-4",
"anthropic/claude-sonnet-4:thinking",
"anthropic/claude-opus-4",
"anthropic/claude-opus-4:thinking",
])

const routerNames = ["openrouter", "requesty", "glama", "unbound", "litellm"] as const
Expand Down