[GH-ISSUE #306] deepagentsjs stream mode support ‘interrupt’? #246

Closed
opened 2026-06-05 17:21:15 -04:00 by yindo · 0 comments
Owner

Originally created by @kisChang on GitHub (Mar 12, 2026).
Original GitHub issue: https://github.com/langchain-ai/deepagentsjs/issues/306

In DeepAgentJs agent.stream mode, how can I correctly capture interrupt?

All documentation is based on invoke. After switching to stream with {streamMode: ['updates', 'messages', 'tools', 'custom']}, no interrupt information is visible in any chunks.

How can I support interrupts in stream mode? Are there any plans to add related example documentation?

https://docs.langchain.com/oss/javascript/deepagents/human-in-the-loop#handle-interrupts

Originally created by @kisChang on GitHub (Mar 12, 2026). Original GitHub issue: https://github.com/langchain-ai/deepagentsjs/issues/306 In DeepAgentJs `agent.stream` mode, how can I correctly capture `interrupt`? All documentation is based on `invoke`. After switching to `stream` with `{streamMode: ['updates', 'messages', 'tools', 'custom']}`, no interrupt information is visible in any chunks. How can I support interrupts in `stream` mode? Are there any plans to add related example documentation? https://docs.langchain.com/oss/javascript/deepagents/human-in-the-loop#handle-interrupts
yindo closed this issue 2026-06-05 17:21:15 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/deepagentsjs#246