dify icon indicating copy to clipboard operation
dify copied to clipboard

add http async support

Open githubyong opened this issue 1 year ago • 4 comments

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.

I am using Dify to create a workflow, invoking some time-consuming APIs via HTTP. After receiving the API responses, I will parse the results and proceed to the next steps. So i need async http method support

2. Additional context or comments

my workflow like this

Image

3. Can you help us with this feature?

  • [ ] I am interested in contributing to this feature.

githubyong avatar Feb 19 '25 08:02 githubyong

I hope you can support it quickly.

fq393 avatar Mar 04 '25 14:03 fq393

Hi, @githubyong. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • Request for asynchronous HTTP support to improve workflow efficiency.
  • Aims to handle API responses asynchronously for better parsing and progression.
  • User vanche1212 has shown support for this feature request.

Next Steps:

  • Please confirm if this issue is still relevant to the latest version of the Dify repository by commenting here.
  • If there is no further activity, this issue will be automatically closed in 15 days.

Thank you for your understanding and contribution!

dosubot[bot] avatar Apr 04 '25 16:04 dosubot[bot]

Hi, @githubyong. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • Request for asynchronous HTTP support to improve workflow efficiency.
  • Aims to handle API responses asynchronously for better parsing and progression.
  • User vanche1212 has shown support for this feature request.

Next Steps:

  • Please confirm if this issue is still relevant to the latest version of the Dify repository by commenting here.
  • If there is no further activity, this issue will be automatically closed in 15 days.

Thank you for your understanding and contribution!

yeah, it still can't support asynchronous http

githubyong avatar Apr 11 '25 02:04 githubyong

@crazywoola, the user @githubyong has confirmed that the issue regarding asynchronous HTTP support is still relevant and cannot support it yet. Could you please assist them with this feature request?

dosubot[bot] avatar Apr 11 '25 02:04 dosubot[bot]

1. Is this request related to a challenge you're experiencing? Tell me about your story.

I am using Dify to create a workflow, invoking some time-consuming APIs via HTTP. After receiving the API responses, I will parse the results and proceed to the next steps. So i need async http method support

2. Additional context or comments

my workflow like this

try this?

Image

shaonianche avatar Jun 16 '25 09:06 shaonianche

I don't quite understand your intention. The HTTP Node does not block other nodes that are running in parallel. In your example, you won't be able to process the Result before the HTTP Node completes its execution, even if it is indeed "asynchronous."

laipz8200 avatar Jul 21 '25 18:07 laipz8200