[PR #5999] docs: Fix Example Code Snippet in HITL #4773

Closed
opened 2026-02-20 17:50:43 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langchain-ai/langgraph/pull/5999

State: closed
Merged: Yes


Description: Fixing the example code snippet at this url.

Fixes:

  • i.interrupt_id -> i.id, since interrupt_id is deprecrated
  • f"human input for prompt {i.value}" -> f"edited text for {i.value['text_to_revise']}", to match the output statement
  • parent.get_state -> graph.get_state, no variable named parent
  • get_state(thread_config) -> get_state(config), no variable named thread_config
**Original Pull Request:** https://github.com/langchain-ai/langgraph/pull/5999 **State:** closed **Merged:** Yes --- Description: Fixing the example code snippet at this [url](https://langchain-ai.github.io/langgraph/how-tos/human_in_the_loop/add-human-in-the-loop/#resume-multiple-interrupts-with-one-invocation). Fixes: - i.interrupt_id -> i.id, since interrupt_id is deprecrated - f"human input for prompt {i.value}" -> f"edited text for {i.value['text_to_revise']}", to match the output statement - parent.get_state -> graph.get_state, no variable named parent - get_state(thread_config) -> get_state(config), no variable named thread_config
yindo added the pull-request label 2026-02-20 17:50:43 -05:00
yindo closed this issue 2026-02-20 17:50:43 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#4773