Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT]: Add a wait block to agent flows #3447

Open
zandercreations opened this issue Mar 12, 2025 · 1 comment
Open

[FEAT]: Add a wait block to agent flows #3447

zandercreations opened this issue Mar 12, 2025 · 1 comment
Assignees
Labels
enhancement New feature or request feature request

Comments

@zandercreations
Copy link

What would you like to see?

It would be beneficial to add a wait block that would postpone the next block running.

use cases:

  1. If an API call needs an extended allotted time to process.
  2. Running a get request right after a post request and the get cant return because the post didn't complete in time.
@shatfield4 shatfield4 self-assigned this Mar 13, 2025
@timothycarambat
Copy link
Member

The API blocks should be blocking in the agent flow, prevent this kind of behavior. Do you mean an arbitrary wait so that after the POST returns, maybe the endpoint called has some extra processing time to do whatever it needs to do, then we can call the next?

I can imagine in some cases a POST would return very quickly because it may kickoff a job on a remote service that only after a few seconds can be assumed to be done and a followup GET would be valid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature request
Projects
None yet
Development

No branches or pull requests

3 participants