Skip to content

Commit 978f34e

Browse files
Supporting implicit Caching in Gemini (RooCodeInc#3394)
* Refactor GeminiHandler to remove caching logic and update pricing structure * Removed the enhanced caching system and related logic from GeminiHandler. * Updated the pricing structure for cache reads in both geminiModels and vertexModels. * Simplified the message creation process by eliminating unnecessary cache checks and operations. * Fixing Gemini and vertex cache pricing * Fixing Gemini and vertex cache pricing * Update src/api/providers/gemini.ts Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com> --------- Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
1 parent 445e252 commit 978f34e

File tree

5 files changed

+19
-344
lines changed

5 files changed

+19
-344
lines changed

.changeset/twenty-cobras-cry.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"claude-dev": patch
3+
---
4+
5+
Add support for Gemini Implicit Caching

package-lock.json

Lines changed: 2 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,6 @@
416416
"jschardet": "^3.1.4",
417417
"mammoth": "^1.8.0",
418418
"monaco-vscode-textmate-theme-converter": "^0.1.7",
419-
"node-cache": "^5.1.2",
420419
"ollama": "^0.5.13",
421420
"open-graph-scraper": "^6.9.0",
422421
"openai": "^4.83.0",

0 commit comments

Comments
 (0)