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

推荐订阅源

爱范儿
爱范儿
H
Help Net Security
Jina AI
Jina AI
T
The Blog of Author Tim Ferriss
宝玉的分享
宝玉的分享
博客园 - 叶小钗
Y
Y Combinator Blog
罗磊的独立博客
大猫的无限游戏
大猫的无限游戏
WordPress大学
WordPress大学
C
Check Point Blog
Recent Announcements
Recent Announcements
IT之家
IT之家
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
美团技术团队
云风的 BLOG
云风的 BLOG
雷峰网
雷峰网
H
Hackread – Cybersecurity News, Data Breaches, AI and More
S
SegmentFault 最新的问题
MyScale Blog
MyScale Blog
Apple Machine Learning Research
Apple Machine Learning Research
Microsoft Azure Blog
Microsoft Azure Blog
V
Visual Studio Blog
B
Blog

LangChain Forum - Topics tagged python-help

Llama-server process has terminated: invalid argument --load-mode with Ollama client 0.32.6 and langchain-ollama 1.1.0 Langchain Certified Agent Engineer Exam - Exam link not received and no response Null-drift: A bare-metal O(1) Memory Store for continuous LangGraph agents Clarification needed: Assistant config vs context and graph initialization Proposal: a small local helper for readable run traces via PR Proxy Authentication Required 407 What is the right way to dynamically create and run a graph? Re-Implement claude code's dynamic workflow using langchian & deepagents How to define a correct state for multi-agent system Response Format Groq Model Pydantic I hope to get some recommendations for practical skills Interrupt does not work correctly in LangGraph The Qwen3.6b model in fireworks through initchatmodel reporting hugely inflated tokens For parallel execution in Node, should i use the functional API? Potential Enhancement: Django-Managed PostgresSaver Pre-interrupt() code re-runs on resume — anti-pattern, or is there a sanctioned way to detect resume? Interrupt parallel branch execution Best practices for self-hosting LangGraph Server OSS without LangGraph keys Dynamically Enabling/Disabling Graphs in a LangGraph Server at Runtime LangGraph thread copy can take 12+ minutes: recommended production pattern? Will DeltaChannel be the default for AgentState.messages, or expected to stay opt-in? Proposal: additional docs for implementing custom DB checkpointers or a guide on generic base checkpointer Prompt_cache_retention: '24h' supported in langchain agents and where to provide it, inside invoke or while creating client? Could RAG pipelines realistically cause deployment timeouts, is Render suitable for first-time RAG deployments? How do I use langchain_postgres' init_vectorstore_table correctly? Proposal: Graph-wide default error handler for StateGraph (fallback for nodes without error_handler) Support timedelta for CachePolicy.ttl, consistent with TimeoutPolicy Anyone confirms this issue that deepagent ui streaming is disturb by update in deepagent or bug issue Best Stack for Building AI Applications Seeking help regarding the connection between Websocket and tool calls
How to register type in langgraph
sog · 2026-04-20 · via LangChain Forum - Topics tagged python-help

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