惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

月光博客
月光博客
MyScale Blog
MyScale Blog
博客园 - Franky
The Cloudflare Blog
IT之家
IT之家
Blog — PlanetScale
Blog — PlanetScale
博客园 - 聂微东
WordPress大学
WordPress大学
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
The Blog of Author Tim Ferriss
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
罗磊的独立博客
Google DeepMind News
Google DeepMind News
P
Proofpoint News Feed
Martin Fowler
Martin Fowler
aimingoo的专栏
aimingoo的专栏
J
Java Code Geeks
腾讯CDC
雷峰网
雷峰网
Microsoft Azure Blog
Microsoft Azure Blog
G
Google Developers Blog
博客园 - 【当耐特】
美团技术团队
云风的 BLOG
云风的 BLOG

LangChain Forum - Latest topics

Seeking help regarding the connection between Websocket and tool calls Tool invocation error with empty error message when using `InjectedState` + `Command` return in async tool How to use @langchain/react FileSystem middleware Using ChatSnowflake with agents Built llmsessioncontract on AgentMiddleware: runtime enforcement of tool-call protocols — feedback wanted DeltaChannelHistory not found in langgraph-api:3.12 Improving citation accuracy and reducing hallucinations in custom Parent-Child RAG pipeline (Gemma3:4B + FAISS+BM25 + Cross-encoder reranker) Built a live autonomous AI agent network using LangGraph-style economics — looking for feedback How are you validating LangChain agent output before it executes shell commands? Cross-site pattern pool for production agent failures — looking for 5 pilot teams (open spec, CC-BY-4.0) Metadata filter not filtering for alerts Using custom MCP servers with assistants How to use tool calling using ChatLlamaCpp and Gemma 4 E4B with create_agent? CLI - No Longer Sending traces to Langsmith Connecting the Slack integration fails with invalid_team_for_non_distributed_app The Docs says open router can be used with init_chat_model but throws an error Interested to contribute to langgraph postgre checkpointer for multiple adapter support Modal Inference Trouble understanding and editing experiment summary evaluators feedbacks SSL certificate error from httpx with LangGraph server [Feature Request] Wire allowed_msgpack_modules in langgraph.json Serving an agent with the LangGraph CLI dev command Proposal: implement delete_for_runs for SQLite checkpoint savers WikipediaLoader endup in JSONDecodeError Human-in-the-loop approval dashboard for LangGraph agents — open source, free to deploy Ombre — open source security and audit layer for LangChain apps Should interrupt() be split into two primitives — one for human input, one for s2s data fetching? Unable to delete runs from annotation queue First Bedrock call after idle is slow on TTFT (follow-ups in the same trace are fast)
How to register type in langgraph
sog · 2026-04-20 · via LangChain Forum - Latest topics

1

I met this warning:
Deserializing unregistered type src.schemas.resume_models.QuestionRecord from checkpoint. This will be blocked in a future version. Add to allowed_msgpack_modules to silence: [(‘src.schemas.resume_models’, ‘QuestionRecord’)]
I used os.environ[“LANGCHAIN_ALLOWED_MSGPACK_MODULES”] = “src.schemas.resume_models” at the top of entry file of my project but no effects.
So how to elimate this warning?

versions:
langchain-core 1.2.23
langchain-openai 1.1.12
langgraph 1.1.4
langgraph-checkpoint 4.0.1
langgraph-checkpoint-sqlite 3.0.3
langgraph-prebuilt 1.0.8
langgraph-sdk 0.3.12
langsmith 0.7.23

hi @sog

what I can see in the source code, the env var LANGCHAIN_ALLOWED_MSGPACK_MODULES doesn’t exist. Only LANGGRAPH_STRICT_MSGPACK is read - it’s a boolean, parsed once at import time and cannot carry module names.

Try this: register types via the Python API and wire the serializer into the checkpointer:

  from langgraph.checkpoint.sqlite import SqliteSaver
  from langgraph.checkpoint.serde.jsonplus import JsonPlusSerializer
  from src.schemas.resume_models import QuestionRecord

  serde = JsonPlusSerializer(allowed_msgpack_modules=[QuestionRecord])
  checkpointer = SqliteSaver(conn, serde=serde)  # or set checkpointer.serde = serde