Skip to content

Conversation

@bsbodden
Copy link
Contributor

…heckpoints (#73)

  • Implement MessageExporter class for extracting messages from Redis checkpoints
  • Add LangChainRecipe for handling LangChain message formats (HumanMessage, AIMessage, etc.)
  • Support both single checkpoint export and full thread export
  • Use orjson for efficient JSON processing

…heckpoints (#73)

- Implement MessageExporter class for extracting messages from Redis checkpoints
- Add LangChainRecipe for handling LangChain message formats (HumanMessage, AIMessage, etc.)
- Support both single checkpoint export and full thread export
- Use orjson for efficient JSON processing
@bsbodden bsbodden requested a review from Copilot August 14, 2025 23:24
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a MessageExporter system for extracting conversation messages from Redis checkpoints, enabling easy export of message data for analysis or migration purposes.

  • Adds MessageExporter class with support for single checkpoint and full thread exports
  • Implements LangChainRecipe for handling various LangChain message formats
  • Provides extensible recipe system for custom message formats

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
langgraph/checkpoint/redis/message_exporter.py Core MessageExporter implementation with LangChainRecipe for message extraction
tests/test_message_exporter.py Unit tests for MessageExporter and LangChainRecipe functionality
tests/test_message_exporter_integration.py Integration tests demonstrating real-world usage scenarios
langgraph/checkpoint/redis/__init__.py Exports new MessageExporter classes for public API

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@bsbodden bsbodden merged commit 618f494 into main Aug 14, 2025
19 checks passed
@bsbodden bsbodden deleted the bsb/issue-73 branch August 14, 2025 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants