From 5702e5ee1f5a6064e56992014fcbc03b3831046a Mon Sep 17 00:00:00 2001 From: Viktor Nagy <126671+nagyv@users.noreply.github.com> Date: Wed, 6 Aug 2025 06:18:12 +0200 Subject: [PATCH] Removed cache control --- litellm/litellm_core_utils/prompt_templates/factory.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/litellm/litellm_core_utils/prompt_templates/factory.py b/litellm/litellm_core_utils/prompt_templates/factory.py index 2f3ffb3b89..7be6988d65 100644 --- a/litellm/litellm_core_utils/prompt_templates/factory.py +++ b/litellm/litellm_core_utils/prompt_templates/factory.py @@ -3716,8 +3716,7 @@ def function_call_prompt(messages: list, functions: list): else: message["content"].append({ "type": "text", - "text": f""" {function_prompt}""", - "cache_control": {"type": "ephemeral"} + "text": f""" {function_prompt}""" }) function_added_to_prompt = True