dify icon indicating copy to clipboard operation
dify copied to clipboard

AgentLogEvent is missing `parallel_id` field so it can't run Agent node in parallel.

Open trunglebka opened this issue 1 week ago • 1 comments

Self Checks

  • [x] This is only for bug report, if you would like to ask a question, please head to Discussions.
  • [x] I have searched for existing issues search for existing issues, including closed ones.
  • [x] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [x] Please do not modify this template :) and fill in all the required fields.

Dify version

1.0.0-beta.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Steps to reproduce: Run any chatflow with Agent node in parallel The log say AgentLogEvent is missing parallel_id field (I cleared the log so can't include it here)

Adding the field parallel_id: Optional[str] = None to api/core/workflow/graph_engine/entities/event.py#AgentLogEvent and it will work as expected

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

trunglebka avatar Feb 14 '25 06:02 trunglebka