Removed cache control

This commit is contained in:
Viktor Nagy 2025-08-06 06:18:12 +02:00 committed by GitHub
parent eca86cd93b
commit 5702e5ee1f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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