This commit is contained in:
Mason Daugherty
2025-07-21 20:37:50 -04:00
parent 246c23ccb1
commit bbc5fe094c

View File

@@ -388,6 +388,8 @@ def test_cache_with_generation_objects() -> None:
result2 = model.generate_response("test prompt")
assert result2.generations[0].message.content == "hello"
assert isinstance(result2.generations[0], ChatGeneration)
def test_cleanup_serialized() -> None:
cleanup_serialized = {
"lc": 1,