diff --git a/.changeset/olive-llamas-admire.md b/.changeset/olive-llamas-admire.md new file mode 100644 index 00000000..524b9dcc --- /dev/null +++ b/.changeset/olive-llamas-admire.md @@ -0,0 +1,5 @@ +--- +"claude-dev": patch +--- + +Show prompt cache for gemini 2.5 flash diff --git a/src/shared/api.ts b/src/shared/api.ts index fa65549b..04c96e15 100644 --- a/src/shared/api.ts +++ b/src/shared/api.ts @@ -539,7 +539,7 @@ export const vertexModels = { maxTokens: 65536, contextWindow: 1_048_576, supportsImages: true, - supportsPromptCache: false, + supportsPromptCache: true, supportsGlobalEndpoint: true, inputPrice: 0.15, outputPrice: 0.6, @@ -552,7 +552,7 @@ export const vertexModels = { maxTokens: 65536, contextWindow: 1_048_576, supportsImages: true, - supportsPromptCache: false, + supportsPromptCache: true, supportsGlobalEndpoint: true, inputPrice: 0.15, outputPrice: 0.6, @@ -683,7 +683,7 @@ export const geminiModels = { maxTokens: 65536, contextWindow: 1_048_576, supportsImages: true, - supportsPromptCache: false, + supportsPromptCache: true, inputPrice: 0.15, outputPrice: 0.6, thinkingConfig: { @@ -695,7 +695,7 @@ export const geminiModels = { maxTokens: 65536, contextWindow: 1_048_576, supportsImages: true, - supportsPromptCache: false, + supportsPromptCache: true, inputPrice: 0.15, outputPrice: 0.6, thinkingConfig: {