Skip to main content
체크포인터를 제공하지 않고 LangGraph의 내장 지속성 기능을 사용하려고 시도하고 있습니다. 이 오류는 StateGraphcompile() 메서드 또는 @entrypointcheckpointer가 누락되었을 때 발생합니다.

문제 해결

다음 방법을 통해 이 오류를 해결할 수 있습니다:
  • 체크포인터를 초기화하고 StateGraphcompile() 메서드 또는 @entrypoint에 전달하세요.
from langgraph.checkpoint.memory import InMemorySaver
checkpointer = InMemorySaver()

# Graph API
graph = StateGraph(...).compile(checkpointer=checkpointer)

# Functional API
@entrypoint(checkpointer=checkpointer)
def workflow(messages: list[str]) -> str:
    ...
  • 체크포인터를 수동으로 구현하거나 구성할 필요 없이 LangGraph API를 사용하세요. API가 모든 지속성 인프라를 자동으로 처리합니다.

관련 문서

  • 지속성에 대해 자세히 알아보세요.

Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.
I