标签: LLM

[Bug]: `WorkflowIdleEvent` is emitted while events sent from outside the run with `handler.ctx.send_event` are still undelivered, so a conte

[Bug]: `WorkflowIdleEvent` is emitted while events sent from outside the run with `handler.ctx.send_event` are still undelivered, so a conte

这通常发生在多个步骤同时等待人工输入、并在同一批里通过 handler.ctx.send_event 从运行外部回传事件的场景:工作流会在外部事件尚未被取走前误发 WorkflowIdleEvent ,此时保存的上下文会丢失该事件。优先排查空闲判定(idle check)是否只覆盖了运行内部发出的事