Skip to content

Commit cba5b70

Browse files
authored
Bsb/release 0.3.8 (#169)
* fix: strip provider-specific IDs from cached AIMessages Cached AIMessages preserved provider metadata (OpenAI rs_ IDs, system fingerprints, Anthropic msg_ IDs) in additional_kwargs and response_metadata. When both original and cached messages existed in conversation state, the OpenAI Responses API rejected the request with "Duplicate item found with id rs_...". Strip all provider fields on deserialization, keeping only content and the cached: True marker. Serialization is unchanged — full responses are still preserved in the cache. * chore(release): bumped to version 0.3.8
1 parent 21175d3 commit cba5b70

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "langgraph-checkpoint-redis"
3-
version = "0.3.7"
3+
version = "0.3.8"
44
description = "Redis implementation of the LangGraph agent checkpoint saver and store."
55
authors = ["Brian Sam-Bodden <bsb@redis.com>", "Redis Inc. <applied.ai@redis.com>"]
66
license = "MIT"

0 commit comments

Comments
 (0)