chatflow and workflow APIs support asynchronous mode calls
Self Checks
- [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.
1. Is this request related to a challenge you're experiencing? Tell me about your story.
Currently, only blocking mode and streaming mode are supported, but in many time-consuming scenarios, an API that can be called in asynchronous mode is required.
2. Additional context or comments
No response
3. Can you help us with this feature?
- [ ] I am interested in contributing to this feature.
We will working on this later.
Hi, @xiaoyesoso. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.
Issue Summary:
- You requested asynchronous mode calls for chatflow and workflow APIs.
- Current modes are limited to blocking and streaming.
- @crazywoola mentioned plans to work on this feature in the future.
- You have not expressed interest in contributing to this feature's development.
Next Steps:
- Is this issue still relevant to the latest version of Dify? If so, please comment to keep the discussion open.
- If there are no updates, this issue will be automatically closed in 15 days.
Thank you for your understanding and contribution!
Hi, @xiaoyesoso. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.
Issue Summary:
- You requested asynchronous mode calls for chatflow and workflow APIs.
- Current modes are limited to blocking and streaming.
- @crazywoola mentioned plans to work on this feature in the future.
- You have not expressed interest in contributing to this feature's development.
Next Steps:
- Is this issue still relevant to the latest version of Dify? If so, please comment to keep the discussion open.
- If there are no updates, this issue will be automatically closed in 15 days.
Thank you for your understanding and contribution!
this issue is still relevant to the latest version of Dify
@crazywoola, the user @xiaoyesoso has confirmed that the issue regarding asynchronous mode calls for chatflow and workflow APIs is still relevant to the latest version of Dify. Could you please assist them with this?
I'm highly concerned about this issue, as I urgently need to implement asynchronous processing to achieve decoupling - the synchronous execution wait time in our workflow is simply too long and frequently results in timeouts.
我们的工作流执行比较长, 急需异步功能。 大神什么时候上线。 @crazywoola
Is it possible to have suspended tasks, where tasks are suspended during asynchronous execution and the workflow is activated after the task is completed to achieve continuation functionality
Hi, @xiaoyesoso. I'm Dosu, and I'm helping the Dify team manage their backlog and am marking this issue as stale.
Issue Summary:
- You requested asynchronous mode support for chatflow and workflow APIs to better handle long-running tasks.
- Current options are blocking or streaming only, which can cause timeouts and long waits.
- The maintainer acknowledged plans to work on this feature but has not provided a timeline.
- Other users have expressed urgency for asynchronous processing and asked about handling suspended tasks for workflow continuation.
Next Steps:
- Please let me know if this issue is still relevant to the latest version of Dify by commenting here to keep the discussion open.
- If I do not hear back within 15 days, this issue will be automatically closed.
Thank you for your understanding and contribution!