Skip to content

Could a conditional retry feature be added to the workflow nodes? #36745

@Moiyu1998

Description

@Moiyu1998

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 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.

Add a conditional retry feature to workflow nodes. For example, allow writing custom functions to decide whether to retry. This could be used to check whether the output is empty, whether the output JSON is correct and can be parsed normally, or whether the output result is complete based on certain markers. In this way, users can decide under which circumstances a retry is needed according to their own requirements, and each node can be defined independently for greater flexibility. I hope such a feature can be added.

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions