Skip to content

Custom decoder for LangChain messages

Halil Coban requested to merge 37-follow-up-from-add-custom-json-encoder into main

This MR

  • Adds a custom decoder so that checkpoints fetched from DB can be converted to langchain message objects
  • Fixes the decoder by setting tool_call_id when initializing a ToolMessage

There is no user facing change at this point since we do not use the checkpoints fetched from the DB (no pause - resume).

Closes #37 (closed)

Edited by Halil Coban

Merge request reports

Loading