diff --git a/src/oss/langgraph/thinking-in-langgraph.mdx b/src/oss/langgraph/thinking-in-langgraph.mdx index a9946e57e3..5edaaaf0af 100644 --- a/src/oss/langgraph/thinking-in-langgraph.mdx +++ b/src/oss/langgraph/thinking-in-langgraph.mdx @@ -482,7 +482,7 @@ We'll implement each node as a simple function. Remember: nodes take state, do w from langchain_openai import ChatOpenAI from langchain.messages import HumanMessage - llm = ChatOpenAI(model="gpt-4") + llm = ChatOpenAI(model="gpt-5-nano") def read_email(state: EmailAgentState) -> dict: """Extract and parse email content""" @@ -974,7 +974,7 @@ initial_state = { config = {"configurable": {"thread_id": "customer_123"}} result = app.invoke(initial_state, config) # The graph will pause at human_review -print(f"Draft ready for review: {result['draft_response'][:100]}...") +print(f"human review interrupt:{result['__interrupt__']}") # When ready, provide human input to resume from langgraph.types import Command