fix: Setting cache control max of 4 times (#594)

* fix: Setting cache control max of 4 times

* cr
This commit is contained in:
Brace Sproul 2025-07-29 13:52:42 -07:00 • committed by GitHub
parent 37d2a4eb05
commit 3d1f94bed3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 6 deletions

View file

@ -119,9 +119,6 @@ const formatCacheablePrompt = (
{
type: "text",
text: formatDynamicContextPrompt(state),
...(!args?.excludeCacheControl
? { cache_control: { type: "ephemeral" } }
: {}),
},
];

View file

@ -92,9 +92,6 @@ const formatCacheablePrompt = (
review: codeReview.review,
newActions: codeReview.newActions,
}),
...(!args?.excludeCacheControl
? { cache_control: { type: "ephemeral" } }
: {}),
});
}