mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Disable OpenRouter Gemini caching for now (#2890)
This commit is contained in:
parent
03925d25b0
commit
a53f604e3a
1 changed files with 2 additions and 0 deletions
|
|
@ -290,11 +290,13 @@ export async function getOpenRouterModels(options?: ApiHandlerOptions) {
|
|||
modelInfo.cacheReadsPrice = 0.03
|
||||
modelInfo.maxTokens = 8192
|
||||
break
|
||||
/* TODO: uncomment once we confirm it's working
|
||||
case rawModel.id.startsWith("google/gemini-2.5-pro-preview-03-25"):
|
||||
case rawModel.id.startsWith("google/gemini-2.0-flash-001"):
|
||||
case rawModel.id.startsWith("google/gemini-flash-1.5"):
|
||||
modelInfo.supportsPromptCache = true
|
||||
break
|
||||
*/
|
||||
default:
|
||||
break
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue