Skip to content

Commit 38822d1

Browse files
committed
Disable OpenRouter Gemini caching for now
1 parent 72962b3 commit 38822d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/api/providers/openrouter.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,11 +290,13 @@ export async function getOpenRouterModels(options?: ApiHandlerOptions) {
290290
modelInfo.cacheReadsPrice = 0.03
291291
modelInfo.maxTokens = 8192
292292
break
293+
/* TODO: uncomment once we confirm it's working
293294
case rawModel.id.startsWith("google/gemini-2.5-pro-preview-03-25"):
294295
case rawModel.id.startsWith("google/gemini-2.0-flash-001"):
295296
case rawModel.id.startsWith("google/gemini-flash-1.5"):
296297
modelInfo.supportsPromptCache = true
297298
break
299+
*/
298300
default:
299301
break
300302
}

0 commit comments

Comments
 (0)