Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: fix max_retries is hardcode (#33619)
wangxiaoleiaa4a9877f5dc
diff --git a/api/configs/middleware/cache/redis_config.py b/api/configs/middleware/cache/redis_config.pyindex 367cb527311..3b912075459 100644--- a/api/configs/middleware/cache/redis_config.py+++ b/api/configs/middleware/cache/redis_config.py@@ -1,4 +1,4 @@-from pydantic import Field, NonNegativeInt, PositiveFloat, PositiveInt+from pydantic import Field, NonNegativeInt, PositiveFloat, PositiveInt, field_validatorfrom pydantic_settings import BaseSettings@@ -116,3 +116,13 @@ class RedisConfig(BaseSettings):description="Maximum connections in the Redis connection pool (unset for library default)",default=None,)++ @field_validator("REDIS_MAX_CONNECTIONS", mode="before")+ @classmethod+ def _empty_string_to_none_for_max_conns(cls, v):+ """Allow empty string in env/.env to mean 'unset' (None)."""+ if v is None:+ return None+ if isinstance(v, str) and v.strip() == "":+ return None+ return vdiff --git a/api/dify_graph/nodes/http_request/node.py b/api/dify_graph/nodes/http_request/node.pyindex b17c820a80e..486ae241ee0 100644--- a/api/dify_graph/nodes/http_request/node.py+++ b/api/dify_graph/nodes/http_request/node.py@@ -101,7 +101,6 @@ class HttpRequestNode(Node[HttpRequestNodeData]):timeout=self._get_request_timeout(self.node_data),variable_pool=self.graph_runtime_state.variable_pool,http_request_config=self._http_request_config,- max_retries=0,ssl_verify=self.node_data.ssl_verify,http_client=self._http_client,file_manager=self._file_manager,