We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0a5fa5 commit 7f4917dCopy full SHA for 7f4917d
src/api/providers/openrouter.ts
@@ -291,17 +291,10 @@ export async function getOpenRouterModels(options?: ApiHandlerOptions) {
291
modelInfo.maxTokens = 8192
292
break
293
case rawModel.id.startsWith("google/gemini-2.5-pro-preview-03-25"):
294
- modelInfo.supportsPromptCache = true
295
- break
296
case rawModel.id.startsWith("google/gemini-2.0-flash-001"):
297
298
299
case rawModel.id.startsWith("google/gemini-flash-1.5"):
300
modelInfo.supportsPromptCache = true
301
302
- case rawModel.id.startsWith("google/gemini-pro-1.5"):
303
304
305
default:
306
307
}
0 commit comments