feat: workflow node support retry

This commit is contained in:
Novice Lee
2024-12-17 16:50:07 +08:00
parent a725b8bb6e
commit b99f1a09f4
21 changed files with 646 additions and 142 deletions

View File

@ -45,7 +45,6 @@ def make_request(method, url, max_retries=SSRF_DEFAULT_MAX_RETRIES, **kwargs):
)
retries = 0
stream = kwargs.pop("stream", False)
while retries <= max_retries:
try:
if dify_config.SSRF_PROXY_ALL_URL: