Skip to content

Commit 00f8805

Browse files
Fix gpt-4.5-preview's supportsPromptCache value to true (RooCodeInc#2399)
Reference: - https://platform.openai.com/docs/models/gpt-4.5-preview
1 parent c4f73e7 commit 00f8805

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/fresh-falcons-hang.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+
Fix gpt-4.5-preview's supportsPromptCache value to true

src/shared/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ export const openAiNativeModels = {
609609
maxTokens: 16_384,
610610
contextWindow: 128_000,
611611
supportsImages: true,
612-
supportsPromptCache: false,
612+
supportsPromptCache: true,
613613
inputPrice: 75,
614614
outputPrice: 150,
615615
},

0 commit comments

Comments
 (0)