Skip to content

Commit 7f4917d

Browse files
committed
Remove model that doesn't seem to work
1 parent c0a5fa5 commit 7f4917d

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/api/providers/openrouter.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -291,17 +291,10 @@ export async function getOpenRouterModels(options?: ApiHandlerOptions) {
291291
modelInfo.maxTokens = 8192
292292
break
293293
case rawModel.id.startsWith("google/gemini-2.5-pro-preview-03-25"):
294-
modelInfo.supportsPromptCache = true
295-
break
296294
case rawModel.id.startsWith("google/gemini-2.0-flash-001"):
297-
modelInfo.supportsPromptCache = true
298-
break
299295
case rawModel.id.startsWith("google/gemini-flash-1.5"):
300296
modelInfo.supportsPromptCache = true
301297
break
302-
case rawModel.id.startsWith("google/gemini-pro-1.5"):
303-
modelInfo.supportsPromptCache = true
304-
break
305298
default:
306299
break
307300
}

0 commit comments

Comments
 (0)