[GH-ISSUE #2220] [langchain]: https://docs.langchain.com/oss/python/langchain/multi-agent/subagents-personal-assistant#6-add-human-in-the-loop-review #278

Closed
opened 2026-02-17 17:19:32 -05:00 by yindo · 0 comments
Owner

Originally created by @good-lwb on GitHub (Jan 14, 2026).
Original GitHub issue: https://github.com/langchain-ai/docs/issues/2220

Type of issue

issue / bug

Language

Python

Description

Typo in docs: wrong key name when editing tool arguments during interrupt resume.

Body
In the fourth code block of the “Human-in-the-loop with Command” example
(using Command(resume=...) to recover from interrupts), the sample tries to edit the tool-call arguments with:


edited_action["arguments"]["subject"] = "Mockups reminder"


However, the actual key returned in interrupt_.value["action_requests"][0] is "args", not "arguments".
Accessing "arguments" raises KeyError and breaks the example.

Fix
Change the line to:


edited_action["args"]["subject"] = "Mockups reminder"

Thanks for the great library!


Originally created by @good-lwb on GitHub (Jan 14, 2026). Original GitHub issue: https://github.com/langchain-ai/docs/issues/2220 ### Type of issue issue / bug ### Language Python ### Description Typo in docs: wrong key name when editing tool arguments during interrupt resume. **Body** In the fourth code block of the “Human-in-the-loop with Command” example (using `Command(resume=...)` to recover from interrupts), the sample tries to edit the tool-call arguments with:  ```python edited_action["arguments"]["subject"] = "Mockups reminder" ```  However, the actual key returned in `interrupt_.value["action_requests"][0]` is `"args"`, not `"arguments"`. Accessing `"arguments"` raises `KeyError` and breaks the example.  **Fix** Change the line to:  ```python edited_action["args"]["subject"] = "Mockups reminder" ``` Thanks for the great library! 
yindo added the langchainexternal labels 2026-02-17 17:19:32 -05:00
yindo closed this issue 2026-02-17 17:19:32 -05:00
yindo changed title from [langchain]: https://docs.langchain.com/oss/python/langchain/multi-agent/subagents-personal-assistant#6-add-human-in-the-loop-review to [GH-ISSUE #2220] [langchain]: https://docs.langchain.com/oss/python/langchain/multi-agent/subagents-personal-assistant#6-add-human-in-the-loop-review 2026-06-05 17:26:01 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#278