mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-10-04 19:32:12 +00:00
fix: Setting cache control max of 4 times (#594)
* fix: Setting cache control max of 4 times * cr
This commit is contained in:
parent
37d2a4eb05
commit
3d1f94bed3
2 changed files with 0 additions and 6 deletions
|
|
@ -119,9 +119,6 @@ const formatCacheablePrompt = (
|
||||||
{
|
{
|
||||||
type: "text",
|
type: "text",
|
||||||
text: formatDynamicContextPrompt(state),
|
text: formatDynamicContextPrompt(state),
|
||||||
...(!args?.excludeCacheControl
|
|
||||||
? { cache_control: { type: "ephemeral" } }
|
|
||||||
: {}),
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -92,9 +92,6 @@ const formatCacheablePrompt = (
|
||||||
review: codeReview.review,
|
review: codeReview.review,
|
||||||
newActions: codeReview.newActions,
|
newActions: codeReview.newActions,
|
||||||
}),
|
}),
|
||||||
...(!args?.excludeCacheControl
|
|
||||||
? { cache_control: { type: "ephemeral" } }
|
|
||||||
: {}),
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue