mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
fix inserting cache_control_injection_points
This commit is contained in:
parent
c0176941d0
commit
7649566034
2 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ const CacheControlSettings: React.FC<CacheControlSettingsProps> = ({
|
|||
</Text>
|
||||
|
||||
<Form.List
|
||||
name="cache_control_points"
|
||||
name="cache_control_injection_points"
|
||||
initialValue={[{ location: "message" }]}
|
||||
>
|
||||
{(fields, { add, remove }) => (
|
||||
|
|
|
@ -60,7 +60,7 @@ export const prepareModelAddRequest = async (
|
|||
continue;
|
||||
}
|
||||
// Skip the custom_pricing and pricing_model fields as they're only used for UI control
|
||||
if (key === 'custom_pricing' || key === 'pricing_model') {
|
||||
if (key === 'custom_pricing' || key === 'pricing_model' || key === 'cache_control') {
|
||||
continue;
|
||||
}
|
||||
if (key == "model_name") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue