From cc1d628feb482655c0b2b1b4675f98fc47f5f584 Mon Sep 17 00:00:00 2001
From: Stevan Freeborn <65925598+StevanFreeborn@users.noreply.github.com>
Date: Sun, 18 Aug 2024 12:52:21 -0500
Subject: [PATCH] fix: give cache control proper json property name
---
src/AnthropicClient/Models/Tool.cs | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/AnthropicClient/Models/Tool.cs b/src/AnthropicClient/Models/Tool.cs
index e861568..45e61e1 100644
--- a/src/AnthropicClient/Models/Tool.cs
+++ b/src/AnthropicClient/Models/Tool.cs
@@ -58,6 +58,7 @@ public class Tool
///
/// Gets or sets the cache control to be used for the tool.
///
+ [JsonPropertyName("cache_control")]
public CacheControl? CacheControl { get; set; }
///