RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
fix: Invoke proxy uses validated URL; remove stray debug print in Canvas.reset (#18657)
陈志谦c1ee17bebc95
diff --git a/agent/canvas.py b/agent/canvas.pyindex 78bd132901..14b5743b9c 100644--- a/agent/canvas.py+++ b/agent/canvas.py@@ -403,7 +403,6 @@ class Canvas(Graph):self.history = []self.retrieval = []self.memory = []- print(self.variables)for k in self.globals.keys():if k.startswith("sys."):if isinstance(self.globals[k], str):diff --git a/agent/component/invoke.py b/agent/component/invoke.pyindex 35926724fa..a6cf36e678 100644--- a/agent/component/invoke.py+++ b/agent/component/invoke.py@@ -210,7 +210,7 @@ class Invoke(ComponentBase, ABC):proxy_url = self._normalize_proxy_url()if not proxy_url:return None- return {"http": self._param.proxy, "https": self._param.proxy}+ return {"http": proxy_url, "https": proxy_url}def _send_request(self, url: str, args: dict, headers: dict, proxies: dict | None):method = self._param.method.lower()@@ -254,6 +254,7 @@ class Invoke(ComponentBase, ABC):proxy_url = self._normalize_proxy_url()try:proxy_hostname, proxy_ip = assert_url_is_safe(proxy_url)+ logging.debug("Invoke proxy in use: %s", self._ssrf_log_target(proxy_url))except ValueError as exc:logging.warning("Invoke SSRF guard blocked proxy=%s: %s",