mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-11-12 22:20:33 +00:00
* fix(subagents): keep a steered subagent report in the parent snapshot A Steer frees the parent's turn before its subagent finishes: wait_tool returns a 'result is pending' task result and the real report arrives later as a hidden subagent-result HumanMessage. ParentContextSnapshot only kept genuine user messages, so it dropped that report and kept the pending placeholder. A later context_mode=snapshot delegation therefore inherited a pending result and could not use quotes the parent had already received. Keep the hidden subagent-result message as historical conversation data. * fix(subagents): share the delayed result message name --------- Co-authored-by: 2SinceJuly <202121119+2SinceJuly@users.noreply.github.com> Co-authored-by: AochenShen99 <sac1063467113@hotmail.com> Co-authored-by: Willem Jiang <willem.jiang@gmail.com>