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