StateGraph 或 @entrypoint 的 compile() 方法中缺少 checkpointer 时,会发生这种情况。
故障排除
以下内容可能有助于解决此错误:- 初始化并将检查点器传递给
StateGraph或@entrypoint的compile()方法。
- 使用 LangGraph API,这样您就不需要手动实现或配置检查点器。API 为您处理所有持久化基础架构。
相关
- 阅读更多关于持久化的信息。
StateGraph 或 @entrypoint 的 compile() 方法中缺少 checkpointer 时,会发生这种情况。
StateGraph 或 @entrypoint 的 compile() 方法。