Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

Removed cache control

Viktor Nagy5702e5ee1f5a
diff --git a/litellm/litellm_core_utils/prompt_templates/factory.py b/litellm/litellm_core_utils/prompt_templates/factory.py
index 2f3ffb3b89c..7be6988d658 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