Skip to content

Commit f74a8ba

Browse files
arafatkatzeCline Evaluation
andauthored
Show Gemini 2.5 Pro prompt cache (RooCodeInc#3859)
* Show gemini 2.5 flash prompt cache * Show gemini 2.5 flash prompt cache --------- Co-authored-by: Cline Evaluation <[email protected]>
1 parent ad51b7a commit f74a8ba

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.changeset/olive-llamas-admire.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+
Show prompt cache for gemini 2.5 flash

src/shared/api.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ export const vertexModels = {
539539
maxTokens: 65536,
540540
contextWindow: 1_048_576,
541541
supportsImages: true,
542-
supportsPromptCache: false,
542+
supportsPromptCache: true,
543543
supportsGlobalEndpoint: true,
544544
inputPrice: 0.15,
545545
outputPrice: 0.6,
@@ -552,7 +552,7 @@ export const vertexModels = {
552552
maxTokens: 65536,
553553
contextWindow: 1_048_576,
554554
supportsImages: true,
555-
supportsPromptCache: false,
555+
supportsPromptCache: true,
556556
supportsGlobalEndpoint: true,
557557
inputPrice: 0.15,
558558
outputPrice: 0.6,
@@ -683,7 +683,7 @@ export const geminiModels = {
683683
maxTokens: 65536,
684684
contextWindow: 1_048_576,
685685
supportsImages: true,
686-
supportsPromptCache: false,
686+
supportsPromptCache: true,
687687
inputPrice: 0.15,
688688
outputPrice: 0.6,
689689
thinkingConfig: {
@@ -695,7 +695,7 @@ export const geminiModels = {
695695
maxTokens: 65536,
696696
contextWindow: 1_048_576,
697697
supportsImages: true,
698-
supportsPromptCache: false,
698+
supportsPromptCache: true,
699699
inputPrice: 0.15,
700700
outputPrice: 0.6,
701701
thinkingConfig: {

0 commit comments

Comments
 (0)