tests: update tests to account for serialization and deserialization changes with new/modified model properties to support caching

This commit is contained in:
Stevan Freeborn
2024-08-16 09:21:43 -05:00
parent 66008717e1
commit 900a7a3549
10 changed files with 137 additions and 31 deletions
@@ -13,7 +13,9 @@ public class AnthropicEventTests : SerializationTest
""stop_sequence"": """",
""usage"": {
""input_tokens"": 472,
""output_tokens"": 2
""output_tokens"": 2,
""cache_creation_input_tokens"": 0,
""cache_read_input_tokens"": 0
},
""content"": [],
""stop_reason"": """"
@@ -70,7 +72,9 @@ public class AnthropicEventTests : SerializationTest
},
""usage"": {
""output_tokens"": 89,
""input_tokens"": 0
""input_tokens"": 0,
""cache_creation_input_tokens"": 0,
""cache_read_input_tokens"": 0
},
""type"": ""message_delta""
}